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 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.imageBuildConfiguration(Consumer<ImageBuildConfiguration.Builder> imageBuildConfiguration) The settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version.imageBuildConfiguration(ImageBuildConfiguration imageBuildConfiguration) The settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version.imageSource(Consumer<ImageSource.Builder> imageSource) The location of the container image for the application version.imageSource(ImageSource imageSource) The location of the container image for the application version.Indicates whether Elastic Beanstalk pre-processed and validated the environment manifest (env.yaml) and configuration files (*.configfiles in the.ebextensionsfolder) in the source bundle of the application version.sourceBuildInformation(Consumer<SourceBuildInformation.Builder> sourceBuildInformation) If the version's source code was retrieved from CodeCommit, the location of the source code for the application version.sourceBuildInformation(SourceBuildInformation sourceBuildInformation) If the version's source code was retrieved from 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 CodeCommit, the location of the source code for the application version.
- Parameters:
sourceBuildInformation- If the version's source code was retrieved from 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 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:
-
buildArn
Reference to the artifact from the CodeBuild build.
- Parameters:
buildArn- Reference to the artifact from the 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.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:
-
imageSource
The location of the container image for the application version.
For an application version created from an image you provide, this is that image. For one that Elastic Beanstalk builds from your source bundle, Elastic Beanstalk fills this in with the image it pushed after the build succeeds.
- Parameters:
imageSource- The location of the container image for the application version.For an application version created from an image you provide, this is that image. For one that Elastic Beanstalk builds from your source bundle, Elastic Beanstalk fills this in with the image it pushed after the build succeeds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageSource
default ApplicationVersionDescription.Builder imageSource(Consumer<ImageSource.Builder> imageSource) The location of the container image for the application version.
For an application version created from an image you provide, this is that image. For one that Elastic Beanstalk builds from your source bundle, Elastic Beanstalk fills this in with the image it pushed after the build succeeds.
This is a convenience method that creates an instance of theImageSource.Builderavoiding the need to create one manually viaImageSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageSource(ImageSource).- Parameters:
imageSource- a consumer that will call methods onImageSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageBuildConfiguration
ApplicationVersionDescription.Builder imageBuildConfiguration(ImageBuildConfiguration imageBuildConfiguration) The settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version. Not present for an application version created from an image you provide.
- Parameters:
imageBuildConfiguration- The settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version. Not present for an application version created from an image you provide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageBuildConfiguration
default ApplicationVersionDescription.Builder imageBuildConfiguration(Consumer<ImageBuildConfiguration.Builder> imageBuildConfiguration) The settings that Elastic Beanstalk uses to build a container image from the source bundle of the application version. Not present for an application version created from an image you provide.
This is a convenience method that creates an instance of theImageBuildConfiguration.Builderavoiding the need to create one manually viaImageBuildConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageBuildConfiguration(ImageBuildConfiguration).- Parameters:
imageBuildConfiguration- a consumer that will call methods onImageBuildConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
process
Indicates whether Elastic Beanstalk pre-processed and validated the environment manifest (
env.yaml) and configuration files (*.configfiles in the.ebextensionsfolder) in the source bundle of the application version.- Parameters:
process- Indicates whether Elastic Beanstalk pre-processed and validated the environment manifest (env.yaml) and configuration files (*.configfiles in the.ebextensionsfolder) in the source bundle of the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 CodeBuild build. -
Processed– Elastic Beanstalk was successfully pre-processed and validated. -
Failed– Either the 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 CodeBuild build. -
Processed– Elastic Beanstalk was successfully pre-processed and validated. -
Failed– Either the 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
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 CodeBuild build. -
Processed– Elastic Beanstalk was successfully pre-processed and validated. -
Failed– Either the 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 CodeBuild build. -
Processed– Elastic Beanstalk was successfully pre-processed and validated. -
Failed– Either the 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:
-
-