@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application.
|
Boolean |
getAutoCreateApplication()
Set to
true to create an application with the specified name if it doesn't already exist. |
BuildConfiguration |
getBuildConfiguration()
Settings for an AWS CodeBuild build.
|
String |
getDescription()
A description of this application version.
|
Boolean |
getProcess()
Pre-processes and validates the environment manifest (
env.yaml ) and configuration files (
*.config files in the .ebextensions folder) in the source bundle. |
SourceBuildInformation |
getSourceBuildInformation()
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
|
S3Location |
getSourceBundle()
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
|
List<Tag> |
getTags()
Specifies the tags applied to the application version.
|
String |
getVersionLabel()
A label identifying this version.
|
int |
hashCode() |
Boolean |
isAutoCreateApplication()
Set to
true to create an application with the specified name if it doesn't already exist. |
Boolean |
isProcess()
Pre-processes and validates the environment manifest (
env.yaml ) and configuration files (
*.config files in the .ebextensions folder) in the source bundle. |
void |
setApplicationName(String applicationName)
The name of the application.
|
void |
setAutoCreateApplication(Boolean autoCreateApplication)
Set to
true to create an application with the specified name if it doesn't already exist. |
void |
setBuildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
|
void |
setDescription(String description)
A description of this application version.
|
void |
setProcess(Boolean process)
Pre-processes and validates the environment manifest (
env.yaml ) and configuration files (
*.config files in the .ebextensions folder) in the source bundle. |
void |
setSourceBuildInformation(SourceBuildInformation sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
|
void |
setSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
|
void |
setTags(Collection<Tag> tags)
Specifies the tags applied to the application version.
|
void |
setVersionLabel(String versionLabel)
A label identifying this version.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationVersionRequest |
withApplicationName(String applicationName)
The name of the application.
|
CreateApplicationVersionRequest |
withAutoCreateApplication(Boolean autoCreateApplication)
Set to
true to create an application with the specified name if it doesn't already exist. |
CreateApplicationVersionRequest |
withBuildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
|
CreateApplicationVersionRequest |
withDescription(String description)
A description of this application version.
|
CreateApplicationVersionRequest |
withProcess(Boolean process)
Pre-processes and validates the environment manifest (
env.yaml ) and configuration files (
*.config files in the .ebextensions folder) in the source bundle. |
CreateApplicationVersionRequest |
withSourceBuildInformation(SourceBuildInformation sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
|
CreateApplicationVersionRequest |
withSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
|
CreateApplicationVersionRequest |
withTags(Collection<Tag> tags)
Specifies the tags applied to the application version.
|
CreateApplicationVersionRequest |
withTags(Tag... tags)
Specifies the tags applied to the application version.
|
CreateApplicationVersionRequest |
withVersionLabel(String versionLabel)
A label identifying this version.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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)
A description of this application version.
description
- A description of this application version.public String getDescription()
A description of this application version.
public CreateApplicationVersionRequest withDescription(String description)
A description of this application version.
description
- A description of this application version.public void setSourceBuildInformation(SourceBuildInformation sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
sourceBuildInformation
- Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application
version.public SourceBuildInformation getSourceBuildInformation()
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
public CreateApplicationVersionRequest withSourceBuildInformation(SourceBuildInformation sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
sourceBuildInformation
- Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application
version.public void setSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
sourceBundle
- The Amazon S3 bucket and key that identify the location of the source bundle for this version. The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
public S3Location getSourceBundle()
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
public CreateApplicationVersionRequest withSourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
sourceBundle
- The Amazon S3 bucket and key that identify the location of the source bundle for this version. The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
public void setBuildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
buildConfiguration
- Settings for an AWS CodeBuild build.public BuildConfiguration getBuildConfiguration()
Settings for an AWS CodeBuild build.
public CreateApplicationVersionRequest withBuildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
buildConfiguration
- Settings for an AWS CodeBuild build.public void setAutoCreateApplication(Boolean autoCreateApplication)
Set to true
to create an application with the specified name if it doesn't already exist.
autoCreateApplication
- Set to true
to create an application with the specified name if it doesn't already exist.public Boolean getAutoCreateApplication()
Set to true
to create an application with the specified name if it doesn't already exist.
true
to create an application with the specified name if it doesn't already exist.public CreateApplicationVersionRequest withAutoCreateApplication(Boolean autoCreateApplication)
Set to true
to create an application with the specified name if it doesn't already exist.
autoCreateApplication
- Set to true
to create an application with the specified name if it doesn't already exist.public Boolean isAutoCreateApplication()
Set to true
to create an application with the specified name if it doesn't already exist.
true
to create an application with the specified name if it doesn't already exist.public void setProcess(Boolean process)
Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
process
- Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
public Boolean getProcess()
Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
public CreateApplicationVersionRequest withProcess(Boolean process)
Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
process
- Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
public Boolean isProcess()
Pre-processes and validates the environment manifest (env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
env.yaml
) and configuration files (
*.config
files in the .ebextensions
folder) in the source bundle. Validating
configuration files can identify issues prior to deploying the application version to an environment.
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process
option validates Elastic Beanstalk configuration files. It doesn't validate your
application's configuration files, like proxy server or Docker configuration.
public List<Tag> getTags()
Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
public void setTags(Collection<Tag> tags)
Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
tags
- Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
public CreateApplicationVersionRequest withTags(Tag... tags)
Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
public CreateApplicationVersionRequest withTags(Collection<Tag> tags)
Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
tags
- Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()