Class CreateApplicationVersionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateApplicationVersionRequest object.CreateApplicationVersionRequest(String applicationName, String versionLabel) Constructs a new CreateApplicationVersionRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the application.Determines how the system behaves if the specified application for this version does not already exist:Describes this version.Preprocesses and validates the environment manifest and configuration files in the source bundle.The Amazon S3 bucket and key that identify the location of the source bundle for this version.A label identifying this version.inthashCode()Determines how the system behaves if the specified application for this version does not already exist:Preprocesses and validates the environment manifest and configuration files in the source bundle.voidsetApplicationName(String applicationName) The name of the application.voidsetAutoCreateApplication(Boolean autoCreateApplication) Determines how the system behaves if the specified application for this version does not already exist:voidsetDescription(String description) Describes this version.voidsetProcess(Boolean process) Preprocesses and validates the environment manifest and configuration files in the source bundle.voidsetSourceBundle(S3Location sourceBundle) The Amazon S3 bucket and key that identify the location of the source bundle for this version.voidsetVersionLabel(String versionLabel) A label identifying this version.toString()Returns a string representation of this object; useful for testing and debugging.withApplicationName(String applicationName) The name of the application.withAutoCreateApplication(Boolean autoCreateApplication) Determines how the system behaves if the specified application for this version does not already exist:withDescription(String description) Describes this version.withProcess(Boolean process) Preprocesses and validates the environment manifest and configuration files in the source bundle.withSourceBundle(S3Location sourceBundle) The Amazon S3 bucket and key that identify the location of the source bundle for this version.withVersionLabel(String versionLabel) A label identifying this version.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateApplicationVersionRequest
public CreateApplicationVersionRequest()Default constructor for CreateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateApplicationVersionRequest
Constructs a new CreateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
applicationName- The name of the application. If no application is found with this name, andAutoCreateApplicationisfalse, returns anInvalidParameterValueerror.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
InvalidParameterValueerror.
-
-
Method Details
-
setApplicationName
The name of the application. If no application is found with this name, and
AutoCreateApplicationisfalse, returns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application. If no application is found with this name, andAutoCreateApplicationisfalse, returns anInvalidParameterValueerror.
-
getApplicationName
The name of the application. If no application is found with this name, and
AutoCreateApplicationisfalse, returns anInvalidParameterValueerror.- Returns:
- The name of the application. If no application is found with this
name, and
AutoCreateApplicationisfalse, returns anInvalidParameterValueerror.
-
withApplicationName
The name of the application. If no application is found with this name, and
AutoCreateApplicationisfalse, returns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application. If no application is found with this name, andAutoCreateApplicationisfalse, returns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
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
InvalidParameterValueerror.- Parameters:
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
InvalidParameterValueerror.
-
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
InvalidParameterValueerror.- Returns:
- 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
InvalidParameterValueerror.
-
withVersionLabel
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
InvalidParameterValueerror.- Parameters:
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
InvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
Describes this version.
- Parameters:
description- Describes this version.
-
getDescription
-
withDescription
Describes this version.
- Parameters:
description- Describes this version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceBundle
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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.- Parameters:
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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.
-
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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.- Returns:
- 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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.
-
withSourceBundle
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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.- Parameters:
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
InvalidParameterValueerror. 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
InvalidParameterCombinationerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoCreateApplication
Determines how the system behaves 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 anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false- Parameters:
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 release if it does not already exist. -
false: Throws anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false-
-
-
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 release if it does not already exist. -
false: Throws anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false- Returns:
- Determines how the system behaves 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 anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false -
-
-
withAutoCreateApplication
Determines how the system behaves 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 anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false- Parameters:
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 release if it does not already exist. -
false: Throws anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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 release if it does not already exist. -
false: Throws anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false- Returns:
- Determines how the system behaves 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 anInvalidParameterValueif the specified application for this release does not already exist.
Default:
falseValid Values:
true|false -
-
-
setProcess
Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
- Parameters:
process- Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
-
getProcess
Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
- Returns:
- Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
-
withProcess
Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
- Parameters:
process- Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isProcess
Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
- Returns:
- Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-