Interface DeploymentJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentJob.Builder,DeploymentJob>,SdkBuilder<DeploymentJob.Builder,DeploymentJob>,SdkPojo
- Enclosing class:
- DeploymentJob
public static interface DeploymentJob.Builder extends SdkPojo, CopyableBuilder<DeploymentJob.Builder,DeploymentJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeploymentJob.Builderarn(String arn)The Amazon Resource Name (ARN) of the deployment job.DeploymentJob.BuildercreatedAt(Instant createdAt)The time, in milliseconds since the epoch, when the deployment job was created.DeploymentJob.BuilderdeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)The deployment application configuration.DeploymentJob.BuilderdeploymentApplicationConfigs(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs)The deployment application configuration.DeploymentJob.BuilderdeploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs)The deployment application configuration.default DeploymentJob.BuilderdeploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)The deployment configuration.DeploymentJob.BuilderdeploymentConfig(DeploymentConfig deploymentConfig)The deployment configuration.DeploymentJob.BuilderfailureCode(String failureCode)The deployment job failure code.DeploymentJob.BuilderfailureCode(DeploymentJobErrorCode failureCode)The deployment job failure code.DeploymentJob.BuilderfailureReason(String failureReason)A short description of the reason why the deployment job failed.DeploymentJob.Builderfleet(String fleet)The Amazon Resource Name (ARN) of the fleet.DeploymentJob.Builderstatus(String status)The status of the deployment job.DeploymentJob.Builderstatus(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 Detail
-
arn
DeploymentJob.Builder arn(String 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
DeploymentJob.Builder fleet(String 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
DeploymentJob.Builder status(String 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:
DeploymentStatus,DeploymentStatus
-
status
DeploymentJob.Builder status(DeploymentStatus 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:
DeploymentStatus,DeploymentStatus
-
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.Builderavoiding the need to create one manually viaDeploymentApplicationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deploymentApplicationConfigs(List.) - 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:
#deploymentApplicationConfigs(java.util.Collection)
-
deploymentConfig
DeploymentJob.Builder deploymentConfig(DeploymentConfig 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
default DeploymentJob.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)
The deployment configuration.
This is a convenience method that creates an instance of theDeploymentConfig.Builderavoiding the need to create one manually viaDeploymentConfig.builder().When the
Consumercompletes,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:
deploymentConfig(DeploymentConfig)
-
failureReason
DeploymentJob.Builder failureReason(String 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
DeploymentJob.Builder failureCode(String 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
failureCode
DeploymentJob.Builder failureCode(DeploymentJobErrorCode 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
createdAt
DeploymentJob.Builder createdAt(Instant 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.
-
-