Interface DeploymentJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentJob.Builder,
,DeploymentJob> SdkBuilder<DeploymentJob.Builder,
,DeploymentJob> SdkPojo
- Enclosing class:
DeploymentJob
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the deployment job.The time, in milliseconds since the epoch, when the deployment job was created.deploymentApplicationConfigs
(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs) The deployment application configuration.deploymentApplicationConfigs
(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs) The deployment application configuration.deploymentApplicationConfigs
(DeploymentApplicationConfig... deploymentApplicationConfigs) The deployment application configuration.default DeploymentJob.Builder
deploymentConfig
(Consumer<DeploymentConfig.Builder> deploymentConfig) The deployment configuration.deploymentConfig
(DeploymentConfig deploymentConfig) The deployment configuration.failureCode
(String failureCode) The deployment job failure code.failureCode
(DeploymentJobErrorCode failureCode) The deployment job failure code.failureReason
(String failureReason) A short description of the reason why the deployment job failed.The Amazon Resource Name (ARN) of the fleet.The status of the deployment job.status
(DeploymentStatus status) The status of the deployment job.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
-
arn
The Amazon Resource Name (ARN) of the deployment job.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleet
The Amazon Resource Name (ARN) of the fleet.
- Parameters:
fleet
- The Amazon Resource Name (ARN) of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the deployment job.
- Parameters:
status
- The status of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the deployment job.
- Parameters:
status
- The status of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentApplicationConfigs
DeploymentJob.Builder deploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs) The deployment application configuration.
- Parameters:
deploymentApplicationConfigs
- The deployment application configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentApplicationConfigs
DeploymentJob.Builder deploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs) The deployment application configuration.
- Parameters:
deploymentApplicationConfigs
- The deployment application configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentApplicationConfigs
DeploymentJob.Builder deploymentApplicationConfigs(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs) The deployment application configuration.
This is a convenience method that creates an instance of theDeploymentApplicationConfig.Builder
avoiding the need to create one manually viaDeploymentApplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentApplicationConfigs(List<DeploymentApplicationConfig>)
.- Parameters:
deploymentApplicationConfigs
- a consumer that will call methods onDeploymentApplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfig
The deployment configuration.
- Parameters:
deploymentConfig
- The deployment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
The deployment configuration.
This is a convenience method that creates an instance of theDeploymentConfig.Builder
avoiding the need to create one manually viaDeploymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfig(DeploymentConfig)
.- Parameters:
deploymentConfig
- a consumer that will call methods onDeploymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
A short description of the reason why the deployment job failed.
- Parameters:
failureReason
- A short description of the reason why the deployment job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
The deployment job failure code.
- Parameters:
failureCode
- The deployment job failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The deployment job failure code.
- Parameters:
failureCode
- The deployment job failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time, in milliseconds since the epoch, when the deployment job was created.
- Parameters:
createdAt
- The time, in milliseconds since the epoch, when the deployment job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-