public class CreateApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateApplicationVersionRequest()Default constructor for CreateApplicationVersionRequest object. | 
| CreateApplicationVersionRequest(String applicationName,
                               String versionLabel)Constructs a new CreateApplicationVersionRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateApplicationVersionRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| String | getApplicationName()
 The name of the application. | 
| Boolean | getAutoCreateApplication()
 Determines how the system behaves if the specified application for this
 version does not already exist: | 
| String | getDescription()
 Describes this version. | 
| S3Location | getSourceBundle()
 The Amazon S3 bucket and key that identify the location of the source
 bundle for this version. | 
| String | getVersionLabel()
 A label identifying this version. | 
| int | hashCode() | 
| Boolean | isAutoCreateApplication()
 Determines how the system behaves if the specified application for this
 version does not already exist: | 
| void | setApplicationName(String applicationName)
 The name of the application. | 
| void | setAutoCreateApplication(Boolean autoCreateApplication)
 Determines how the system behaves if the specified application for this
 version does not already exist: | 
| void | setDescription(String description)
 Describes this version. | 
| void | setSourceBundle(S3Location sourceBundle)
 The Amazon S3 bucket and key that identify the location of the source
 bundle for this version. | 
| void | setVersionLabel(String versionLabel)
 A label identifying this version. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateApplicationVersionRequest | withApplicationName(String applicationName)
 The name of the application. | 
| CreateApplicationVersionRequest | withAutoCreateApplication(Boolean autoCreateApplication)
 Determines how the system behaves if the specified application for this
 version does not already exist: | 
| CreateApplicationVersionRequest | withDescription(String description)
 Describes this version. | 
| CreateApplicationVersionRequest | withSourceBundle(S3Location sourceBundle)
 The Amazon S3 bucket and key that identify the location of the source
 bundle for this version. | 
| CreateApplicationVersionRequest | withVersionLabel(String versionLabel)
 A label identifying this version. | 
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic CreateApplicationVersionRequest()
public CreateApplicationVersionRequest(String applicationName, String versionLabel)
applicationName - The name of the application. If no application is found with this
        name, and AutoCreateApplication is false
        , returns an InvalidParameterValue error.versionLabel - A label identifying this version.
        
        Constraint: Must be unique per application. If an application
        version already exists with this label for the specified
        application, AWS Elastic Beanstalk returns an
        InvalidParameterValue error.
public void setApplicationName(String applicationName)
 The name of the application. If no application is found with this name,
 and AutoCreateApplication is false, returns an
 InvalidParameterValue error.
 
applicationName - The name of the application. If no application is found with this
        name, and AutoCreateApplication is false
        , returns an InvalidParameterValue error.public String getApplicationName()
 The name of the application. If no application is found with this name,
 and AutoCreateApplication is false, returns an
 InvalidParameterValue error.
 
AutoCreateApplication is
         false, returns an InvalidParameterValue
         error.public CreateApplicationVersionRequest withApplicationName(String applicationName)
 The name of the application. If no application is found with this name,
 and AutoCreateApplication is false, returns an
 InvalidParameterValue error.
 
applicationName - The name of the application. If no application is found with this
        name, and AutoCreateApplication is false
        , returns an InvalidParameterValue error.public void setVersionLabel(String versionLabel)
A label identifying this version.
 Constraint: Must be unique per application. If an application version
 already exists with this label for the specified application, AWS Elastic
 Beanstalk returns an InvalidParameterValue error.
 
versionLabel - A label identifying this version.
        
        Constraint: Must be unique per application. If an application
        version already exists with this label for the specified
        application, AWS Elastic Beanstalk returns an
        InvalidParameterValue error.
public String getVersionLabel()
A label identifying this version.
 Constraint: Must be unique per application. If an application version
 already exists with this label for the specified application, AWS Elastic
 Beanstalk returns an InvalidParameterValue error.
 
         Constraint: Must be unique per application. If an application
         version already exists with this label for the specified
         application, AWS Elastic Beanstalk returns an
         InvalidParameterValue error.
public CreateApplicationVersionRequest withVersionLabel(String versionLabel)
A label identifying this version.
 Constraint: Must be unique per application. If an application version
 already exists with this label for the specified application, AWS Elastic
 Beanstalk returns an InvalidParameterValue error.
 
versionLabel - A label identifying this version.
        
        Constraint: Must be unique per application. If an application
        version already exists with this label for the specified
        application, AWS Elastic Beanstalk returns an
        InvalidParameterValue error.
public void setDescription(String description)
Describes this version.
description - Describes this version.public String getDescription()
Describes this version.
public CreateApplicationVersionRequest withDescription(String description)
Describes this version.
description - Describes this version.public void setSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
 If data found at the Amazon S3 location exceeds the maximum allowed
 source bundle size, AWS Elastic Beanstalk returns an
 InvalidParameterValue error. The maximum size allowed is 512
 MB.
 
 Default: If not specified, AWS Elastic Beanstalk uses a sample
 application. If only partially specified (for example, a bucket is
 provided but not the key) or if no data is found at the Amazon S3
 location, AWS Elastic Beanstalk returns an
 InvalidParameterCombination error.
 
sourceBundle - The Amazon S3 bucket and key that identify the location of the
        source bundle for this version. 
        
        If data found at the Amazon S3 location exceeds the maximum
        allowed source bundle size, AWS Elastic Beanstalk returns an
        InvalidParameterValue error. The maximum size allowed
        is 512 MB.
        
        Default: If not specified, AWS Elastic Beanstalk uses a sample
        application. If only partially specified (for example, a bucket is
        provided but not the key) or if no data is found at the Amazon S3
        location, AWS Elastic Beanstalk returns an
        InvalidParameterCombination error.
public S3Location getSourceBundle()
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
 If data found at the Amazon S3 location exceeds the maximum allowed
 source bundle size, AWS Elastic Beanstalk returns an
 InvalidParameterValue error. The maximum size allowed is 512
 MB.
 
 Default: If not specified, AWS Elastic Beanstalk uses a sample
 application. If only partially specified (for example, a bucket is
 provided but not the key) or if no data is found at the Amazon S3
 location, AWS Elastic Beanstalk returns an
 InvalidParameterCombination error.
 
         If data found at the Amazon S3 location exceeds the maximum
         allowed source bundle size, AWS Elastic Beanstalk returns an
         InvalidParameterValue error. The maximum size
         allowed is 512 MB.
         
         Default: If not specified, AWS Elastic Beanstalk uses a sample
         application. If only partially specified (for example, a bucket
         is provided but not the key) or if no data is found at the Amazon
         S3 location, AWS Elastic Beanstalk returns an
         InvalidParameterCombination error.
public CreateApplicationVersionRequest withSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
 If data found at the Amazon S3 location exceeds the maximum allowed
 source bundle size, AWS Elastic Beanstalk returns an
 InvalidParameterValue error. The maximum size allowed is 512
 MB.
 
 Default: If not specified, AWS Elastic Beanstalk uses a sample
 application. If only partially specified (for example, a bucket is
 provided but not the key) or if no data is found at the Amazon S3
 location, AWS Elastic Beanstalk returns an
 InvalidParameterCombination error.
 
sourceBundle - The Amazon S3 bucket and key that identify the location of the
        source bundle for this version. 
        
        If data found at the Amazon S3 location exceeds the maximum
        allowed source bundle size, AWS Elastic Beanstalk returns an
        InvalidParameterValue error. The maximum size allowed
        is 512 MB.
        
        Default: If not specified, AWS Elastic Beanstalk uses a sample
        application. If only partially specified (for example, a bucket is
        provided but not the key) or if no data is found at the Amazon S3
        location, AWS Elastic Beanstalk returns an
        InvalidParameterCombination error.
public void setAutoCreateApplication(Boolean autoCreateApplication)
Determines how the system behaves if the specified application for this version does not already exist:
 true: Automatically creates the specified application for
 this version if it does not already exist.
 
 false: Returns an InvalidParameterValue if the
 specified application for this version does not already exist.
 
true : Automatically creates the specified application
 for this release if it does not already exist.false : Throws an InvalidParameterValue if
 the specified application for this release does not already exist.
 Default: false
 
 Valid Values: true | false
 
autoCreateApplication - Determines how the system behaves if the specified application for
        this version does not already exist:  
        true: Automatically creates the specified application
        for this version if it does not already exist.
        
        false: Returns an InvalidParameterValue
        if the specified application for this version does not already
        exist.
        
true : Automatically creates the specified
        application for this release if it does not already exist.false : Throws an
        InvalidParameterValue if the specified application
        for this release does not already exist.
        Default: false
        
        Valid Values: true | false
public Boolean getAutoCreateApplication()
Determines how the system behaves if the specified application for this version does not already exist:
 true: Automatically creates the specified application for
 this version if it does not already exist.
 
 false: Returns an InvalidParameterValue if the
 specified application for this version does not already exist.
 
true : Automatically creates the specified application
 for this release if it does not already exist.false : Throws an InvalidParameterValue if
 the specified application for this release does not already exist.
 Default: false
 
 Valid Values: true | false
 
         true: Automatically creates the specified
         application for this version if it does not already exist.
         
         false: Returns an InvalidParameterValue
         if the specified application for this version does not already
         exist.
         
true : Automatically creates the specified
         application for this release if it does not already exist.false : Throws an
         InvalidParameterValue if the specified application
         for this release does not already exist.
         Default: false
         
         Valid Values: true | false
public CreateApplicationVersionRequest withAutoCreateApplication(Boolean autoCreateApplication)
Determines how the system behaves if the specified application for this version does not already exist:
 true: Automatically creates the specified application for
 this version if it does not already exist.
 
 false: Returns an InvalidParameterValue if the
 specified application for this version does not already exist.
 
true : Automatically creates the specified application
 for this release if it does not already exist.false : Throws an InvalidParameterValue if
 the specified application for this release does not already exist.
 Default: false
 
 Valid Values: true | false
 
autoCreateApplication - Determines how the system behaves if the specified application for
        this version does not already exist:  
        true: Automatically creates the specified application
        for this version if it does not already exist.
        
        false: Returns an InvalidParameterValue
        if the specified application for this version does not already
        exist.
        
true : Automatically creates the specified
        application for this release if it does not already exist.false : Throws an
        InvalidParameterValue if the specified application
        for this release does not already exist.
        Default: false
        
        Valid Values: true | false
public Boolean isAutoCreateApplication()
Determines how the system behaves if the specified application for this version does not already exist:
 true: Automatically creates the specified application for
 this version if it does not already exist.
 
 false: Returns an InvalidParameterValue if the
 specified application for this version does not already exist.
 
true : Automatically creates the specified application
 for this release if it does not already exist.false : Throws an InvalidParameterValue if
 the specified application for this release does not already exist.
 Default: false
 
 Valid Values: true | false
 
         true: Automatically creates the specified
         application for this version if it does not already exist.
         
         false: Returns an InvalidParameterValue
         if the specified application for this version does not already
         exist.
         
true : Automatically creates the specified
         application for this release if it does not already exist.false : Throws an
         InvalidParameterValue if the specified application
         for this release does not already exist.
         Default: false
         
         Valid Values: true | false
public String toString()
toString in class ObjectObject.toString()public CreateApplicationVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.