Class CreateApplicationVersionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.CreateApplicationVersionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateApplicationVersionRequest()
Default constructor for CreateApplicationVersionRequest object.CreateApplicationVersionRequest(String applicationName, String versionLabel)
Constructs a new CreateApplicationVersionRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.Boolean
getProcess()
Preprocesses and validates the environment manifest and configuration files in the source bundle.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:Boolean
isProcess()
Preprocesses and validates the environment manifest and configuration files in the source bundle.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
setProcess(Boolean process)
Preprocesses and validates the environment manifest and configuration files in the source bundle.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
withProcess(Boolean process)
Preprocesses and validates the environment manifest and configuration files in the source bundle.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.-
Methods inherited from class com.amazonaws.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 Detail
-
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
public CreateApplicationVersionRequest(String applicationName, String versionLabel)
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, andAutoCreateApplication
isfalse
, returns anInvalidParameterValue
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.
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application. If no application is found with this name, and
AutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application. If no application is found with this name, andAutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.
-
getApplicationName
public String getApplicationName()
The name of the application. If no application is found with this name, and
AutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.- Returns:
- The name of the application. If no application is found with this
name, and
AutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.
-
withApplicationName
public CreateApplicationVersionRequest withApplicationName(String applicationName)
The name of the application. If no application is found with this name, and
AutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application. If no application is found with this name, andAutoCreateApplication
isfalse
, returns anInvalidParameterValue
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
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.- 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
InvalidParameterValue
error.
-
getVersionLabel
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.- 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
InvalidParameterValue
error.
-
withVersionLabel
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.- 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
InvalidParameterValue
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Describes this version.
- Parameters:
description
- Describes this version.
-
getDescription
public String getDescription()
Describes this version.
- Returns:
- Describes this version.
-
withDescription
public CreateApplicationVersionRequest withDescription(String description)
Describes this version.
- Parameters:
description
- Describes this version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceBundle
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.- 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
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.
-
getSourceBundle
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.- 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
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.
-
withSourceBundle
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.- 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
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoCreateApplication
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 release if it does not already exist. -
false
: Throws anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid 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 anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid Values:
true
|false
-
-
-
getAutoCreateApplication
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 release if it does not already exist. -
false
: Throws anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid 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 anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid Values:
true
|false
-
-
-
withAutoCreateApplication
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 release if it does not already exist. -
false
: Throws anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid 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 anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid Values:
true
|false
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
isAutoCreateApplication
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 release if it does not already exist. -
false
: Throws anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid 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 anInvalidParameterValue
if the specified application for this release does not already exist.
Default:
false
Valid Values:
true
|false
-
-
-
setProcess
public void setProcess(Boolean 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.
- 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
public Boolean 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
public CreateApplicationVersionRequest withProcess(Boolean 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.
- 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
public Boolean 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateApplicationVersionRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-