Example usage for com.amazonaws.services.elasticbeanstalk.model UpdateApplicationVersionResult getApplicationVersion

List of usage examples for com.amazonaws.services.elasticbeanstalk.model UpdateApplicationVersionResult getApplicationVersion

Introduction

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

Prototype


public ApplicationVersionDescription getApplicationVersion() 

Source Link

Document

The ApplicationVersionDescription of the application version.

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();
}