Interface ApplicationVersionDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApplicationVersionDescription.Builder,
,ApplicationVersionDescription> SdkBuilder<ApplicationVersionDescription.Builder,
,ApplicationVersionDescription> SdkPojo
- Enclosing class:
ApplicationVersionDescription
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the application to which the application version belongs.applicationVersionArn
(String applicationVersionArn) The Amazon Resource Name (ARN) of the application version.Reference to the artifact from the AWS CodeBuild build.dateCreated
(Instant dateCreated) The creation date of the application version.dateUpdated
(Instant dateUpdated) The last modified date of the application version.description
(String description) The description of the application version.sourceBuildInformation
(Consumer<SourceBuildInformation.Builder> sourceBuildInformation) If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.sourceBuildInformation
(SourceBuildInformation sourceBuildInformation) If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.sourceBundle
(Consumer<S3Location.Builder> sourceBundle) The storage location of the application version's source bundle in Amazon S3.sourceBundle
(S3Location sourceBundle) The storage location of the application version's source bundle in Amazon S3.The processing status of the application version.status
(ApplicationVersionStatus status) The processing status of the application version.versionLabel
(String versionLabel) A unique identifier for the application version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationVersionArn
The Amazon Resource Name (ARN) of the application version.
- Parameters:
applicationVersionArn
- The Amazon Resource Name (ARN) of the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationName
The name of the application to which the application version belongs.
- Parameters:
applicationName
- The name of the application to which the application version belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the application version.
- Parameters:
description
- The description of the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLabel
A unique identifier for the application version.
- Parameters:
versionLabel
- A unique identifier for the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBuildInformation
ApplicationVersionDescription.Builder sourceBuildInformation(SourceBuildInformation sourceBuildInformation) If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.
- Parameters:
sourceBuildInformation
- If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBuildInformation
default ApplicationVersionDescription.Builder sourceBuildInformation(Consumer<SourceBuildInformation.Builder> sourceBuildInformation) If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.
This is a convenience method that creates an instance of theSourceBuildInformation.Builder
avoiding the need to create one manually viaSourceBuildInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceBuildInformation(SourceBuildInformation)
.- Parameters:
sourceBuildInformation
- a consumer that will call methods onSourceBuildInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildArn
Reference to the artifact from the AWS CodeBuild build.
- Parameters:
buildArn
- Reference to the artifact from the AWS CodeBuild build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBundle
The storage location of the application version's source bundle in Amazon S3.
- Parameters:
sourceBundle
- The storage location of the application version's source bundle in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBundle
default ApplicationVersionDescription.Builder sourceBundle(Consumer<S3Location.Builder> sourceBundle) The storage location of the application version's source bundle in Amazon S3.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceBundle(S3Location)
.- Parameters:
sourceBundle
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateCreated
The creation date of the application version.
- Parameters:
dateCreated
- The creation date of the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateUpdated
The last modified date of the application version.
- Parameters:
dateUpdated
- The last modified date of the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified
True
for theProcess
parameter of theCreateApplicationVersion
action. The following list describes the possible values.-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
- Parameters:
status
- The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specifiedTrue
for theProcess
parameter of theCreateApplicationVersion
action. The following list describes the possible values.-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified
True
for theProcess
parameter of theCreateApplicationVersion
action. The following list describes the possible values.-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
- Parameters:
status
- The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specifiedTrue
for theProcess
parameter of theCreateApplicationVersion
action. The following list describes the possible values.-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-