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

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

Introduction

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

Prototype


public void setApplicationName(String applicationName) 

Source Link

Document

The name of the application associated with 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();
}