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

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

Introduction

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

Prototype


public void setApplicationName(String applicationName) 

Source Link

Document

The name of the application to which the version belongs.

Usage

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

License:Apache License

@Override
protected Object executeInternal() throws MojoExecutionException, MojoFailureException {
    DeleteApplicationVersionRequest req = new DeleteApplicationVersionRequest();

    req.setApplicationName(applicationName);
    req.setDeleteSourceBundle(deleteSourceBundle);
    req.setVersionLabel(versionLabel);/*from  w  ww  . j  a  v a2  s  .  c o m*/

    getService().deleteApplicationVersion(req);

    return null;
}