Example usage for com.amazonaws.services.elasticbeanstalk.model RetrieveEnvironmentInfoRequest RetrieveEnvironmentInfoRequest

List of usage examples for com.amazonaws.services.elasticbeanstalk.model RetrieveEnvironmentInfoRequest RetrieveEnvironmentInfoRequest

Introduction

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

Prototype

public RetrieveEnvironmentInfoRequest() 

Source Link

Document

Default constructor for RetrieveEnvironmentInfoRequest object.

Usage

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

License:Apache License

@Override
protected Object executeInternal() throws MojoExecutionException, MojoFailureException {
    RetrieveEnvironmentInfoRequest request = new RetrieveEnvironmentInfoRequest()
            .withEnvironmentId(curEnv.getEnvironmentId()).withEnvironmentName(curEnv.getEnvironmentName())
            .withInfoType(infoType);/*w w w. j ava  2s  .co m*/

    RetrieveEnvironmentInfoResult result = getService().retrieveEnvironmentInfo(request);

    return result;
}