List of usage examples for com.amazonaws.services.elasticbeanstalk.model RestartAppServerRequest setEnvironmentName
public void setEnvironmentName(String environmentName)
The name 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 w w w .ja va 2 s. c o m*/ return null; }