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

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

Introduction

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

Prototype


public void setEnvironmentName(String environmentName) 

Source Link

Document

This specifies the name 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;
}