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

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

Introduction

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

Prototype

public UpdateApplicationVersionRequest() 

Source Link

Document

Default constructor for UpdateApplicationVersionRequest object.

Usage

From source file:br.com.ingenieux.mojo.beanstalk.version.UpdateApplicationVersionMojo.java

License:Apache License

protected Object executeInternal() throws MojoExecutionException {
    UpdateApplicationVersionRequest request = new UpdateApplicationVersionRequest();

    request.setApplicationName(applicationName);
    request.setDescription(applicationDescription);
    request.setVersionLabel(versionLabel);

    UpdateApplicationVersionResult result = getService().updateApplicationVersion(request);

    return result.getApplicationVersion();
}