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

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

Introduction

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

Prototype


public void setEnvironmentId(String environmentId) 

Source Link

Document

This specifies the ID of the environment with the in-progress update that you want to cancel.

Usage

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

License:Apache License

@Override
protected Object executeInternal() throws MojoExecutionException, MojoFailureException {
    AbortEnvironmentUpdateRequest req = new AbortEnvironmentUpdateRequest();

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

    super.configure();

    return curEnv;
}