Interface ApplicationVersionDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>,SdkBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>,SdkPojo
- Enclosing class:
- ApplicationVersionDescription
public static interface ApplicationVersionDescription.Builder extends SdkPojo, CopyableBuilder<ApplicationVersionDescription.Builder,ApplicationVersionDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApplicationVersionDescription.BuilderapplicationName(String applicationName)The name of the application to which the application version belongs.ApplicationVersionDescription.BuilderapplicationVersionArn(String applicationVersionArn)The Amazon Resource Name (ARN) of the application version.ApplicationVersionDescription.BuilderbuildArn(String buildArn)Reference to the artifact from the AWS CodeBuild build.ApplicationVersionDescription.BuilderdateCreated(Instant dateCreated)The creation date of the application version.ApplicationVersionDescription.BuilderdateUpdated(Instant dateUpdated)The last modified date of the application version.ApplicationVersionDescription.Builderdescription(String description)The description of the application version.default ApplicationVersionDescription.BuildersourceBuildInformation(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.ApplicationVersionDescription.BuildersourceBuildInformation(SourceBuildInformation sourceBuildInformation)If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.default ApplicationVersionDescription.BuildersourceBundle(Consumer<S3Location.Builder> sourceBundle)The storage location of the application version's source bundle in Amazon S3.ApplicationVersionDescription.BuildersourceBundle(S3Location sourceBundle)The storage location of the application version's source bundle in Amazon S3.ApplicationVersionDescription.Builderstatus(String status)The processing status of the application version.ApplicationVersionDescription.Builderstatus(ApplicationVersionStatus status)The processing status of the application version.ApplicationVersionDescription.BuilderversionLabel(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
applicationVersionArn
ApplicationVersionDescription.Builder applicationVersionArn(String 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
ApplicationVersionDescription.Builder applicationName(String 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
ApplicationVersionDescription.Builder description(String 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
ApplicationVersionDescription.Builder versionLabel(String 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.Builderavoiding the need to create one manually viaSourceBuildInformation.builder().When the
Consumercompletes,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:
sourceBuildInformation(SourceBuildInformation)
-
buildArn
ApplicationVersionDescription.Builder buildArn(String 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
ApplicationVersionDescription.Builder sourceBundle(S3Location 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
sourceBundle(S3Location)
-
dateCreated
ApplicationVersionDescription.Builder dateCreated(Instant 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
ApplicationVersionDescription.Builder dateUpdated(Instant 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
ApplicationVersionDescription.Builder status(String 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
Truefor theProcessparameter of theCreateApplicationVersionaction. 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 specifiedTruefor theProcessparameter of theCreateApplicationVersionaction. 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:
ApplicationVersionStatus,ApplicationVersionStatus
-
-
status
ApplicationVersionDescription.Builder status(ApplicationVersionStatus 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
Truefor theProcessparameter of theCreateApplicationVersionaction. 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 specifiedTruefor theProcessparameter of theCreateApplicationVersionaction. 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:
ApplicationVersionStatus,ApplicationVersionStatus
-
-
-