Example usage for com.amazonaws.services.elasticbeanstalk.model RebuildEnvironmentRequest setEnvironmentName

List of usage examples for com.amazonaws.services.elasticbeanstalk.model RebuildEnvironmentRequest setEnvironmentName

Introduction

In this page you can find the example usage for com.amazonaws.services.elasticbeanstalk.model RebuildEnvironmentRequest setEnvironmentName.

Prototype


public void setEnvironmentName(String environmentName) 

Source Link

Document

The name of the environment to rebuild.

Usage

From source file:br.com.ingenieux.mojo.beanstalk.env.RebuildEnvironmentMojo.java

License:Apache License

@Override
protected Object executeInternal() throws AbstractMojoExecutionException {
    RebuildEnvironmentRequest req = new RebuildEnvironmentRequest();

    req.setEnvironmentId(curEnv.getEnvironmentId());
    req.setEnvironmentName(curEnv.getEnvironmentName());

    getService().rebuildEnvironment(req);

    return null;//from  w  w  w.  ja v a  2  s.com
}