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

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

Introduction

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

Prototype


public void setVersionLabel(String versionLabel) 

Source Link

Document

The label of the version to delete.

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

    getService().deleteApplicationVersion(req);

    return null;//from  w  w  w .  j av  a 2  s . c o m
}