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

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

Introduction

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

Prototype


public void setDescription(String description) 

Source Link

Document

A new description for this 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();
}