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

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

Introduction

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

Prototype


public void setEnvironmentId(String environmentId) 

Source Link

Document

The ID 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 2s .  c o m
}