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

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

Introduction

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

Prototype


public void setVersionLabel(String versionLabel) 

Source Link

Document

The name of the version to update.

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