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

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

Introduction

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

Prototype


public void setDeleteSourceBundle(Boolean deleteSourceBundle) 

Source Link

Document

Set to true to delete the source bundle from your storage bucket.

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);//w  w w  . j  av a  2 s.  c o m

    getService().deleteApplicationVersion(req);

    return null;
}