List of usage examples for com.amazonaws.services.elasticbeanstalk.model RestartAppServerRequest setEnvironmentId
public void setEnvironmentId(String environmentId)
The ID of the environment to restart the server for.
From source file:br.com.ingenieux.mojo.beanstalk.env.RestartAppServerMojo.java
License:Apache License
@Override protected Object executeInternal() throws MojoExecutionException, MojoFailureException { RestartAppServerRequest req = new RestartAppServerRequest(); req.setEnvironmentId(curEnv.getEnvironmentId()); req.setEnvironmentName(curEnv.getEnvironmentName()); getService().restartAppServer(req);/*from ww w . j a v a 2s. c o m*/ return null; }