Interface Deployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Deployment.Builder,
,Deployment> SdkBuilder<Deployment.Builder,
,Deployment> SdkPojo
- Enclosing class:
Deployment
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the deployment.completedAt
(Instant completedAt) The date and time the deployment was completed.componentName
(String componentName) The name of the component associated with this deployment.The date and time the deployment was created.deploymentStatus
(String deploymentStatus) The status of the deployment.deploymentStatus
(DeploymentStatus deploymentStatus) The status of the deployment.deploymentStatusMessage
(String deploymentStatusMessage) The deployment status message.environmentName
(String environmentName) The name of the environment associated with this deployment.The ID of the deployment.default Deployment.Builder
initialState
(Consumer<DeploymentState.Builder> initialState) The initial state of the target resource at the time of the deployment.initialState
(DeploymentState initialState) The initial state of the target resource at the time of the deployment.lastAttemptedDeploymentId
(String lastAttemptedDeploymentId) The ID of the last attempted deployment.lastModifiedAt
(Instant lastModifiedAt) The date and time the deployment was last modified.lastSucceededDeploymentId
(String lastSucceededDeploymentId) The ID of the last successful deployment.serviceInstanceName
(String serviceInstanceName) The name of the deployment's service instance.serviceName
(String serviceName) The name of the service in this deployment.The Amazon Resource Name (ARN) of the target of the deployment.targetResourceCreatedAt
(Instant targetResourceCreatedAt) The date and time the depoyment target was created.targetResourceType
(String targetResourceType) The resource type of the deployment target.targetResourceType
(DeploymentTargetResourceType targetResourceType) The resource type of the deployment target.default Deployment.Builder
targetState
(Consumer<DeploymentState.Builder> targetState) The target state of the target resource at the time of the deployment.targetState
(DeploymentState targetState) The target state of the target resource at the time of the deployment.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.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The date and time the deployment was completed.
- Parameters:
completedAt
- The date and time the deployment was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentName
The name of the component associated with this deployment.
- Parameters:
componentName
- The name of the component associated with this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the deployment was created.
- Parameters:
createdAt
- The date and time the deployment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
The status of the deployment.
- Parameters:
deploymentStatus
- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStatus
The status of the deployment.
- Parameters:
deploymentStatus
- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStatusMessage
The deployment status message.
- Parameters:
deploymentStatusMessage
- The deployment status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment associated with this deployment.
- Parameters:
environmentName
- The name of the environment associated with this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the deployment.
- Parameters:
id
- The ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialState
The initial state of the target resource at the time of the deployment.
- Parameters:
initialState
- The initial state of the target resource at the time of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialState
The initial state of the target resource at the time of the deployment.
This is a convenience method that creates an instance of theDeploymentState.Builder
avoiding the need to create one manually viaDeploymentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitialState(DeploymentState)
.- Parameters:
initialState
- a consumer that will call methods onDeploymentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastAttemptedDeploymentId
The ID of the last attempted deployment.
- Parameters:
lastAttemptedDeploymentId
- The ID of the last attempted deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
The date and time the deployment was last modified.
- Parameters:
lastModifiedAt
- The date and time the deployment was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSucceededDeploymentId
The ID of the last successful deployment.
- Parameters:
lastSucceededDeploymentId
- The ID of the last successful deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceInstanceName
The name of the deployment's service instance.
- Parameters:
serviceInstanceName
- The name of the deployment's service instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service in this deployment.
- Parameters:
serviceName
- The name of the service in this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The Amazon Resource Name (ARN) of the target of the deployment.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the target of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceCreatedAt
The date and time the depoyment target was created.
- Parameters:
targetResourceCreatedAt
- The date and time the depoyment target was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceType
The resource type of the deployment target. It can be an environment, service, service instance, or component.
- Parameters:
targetResourceType
- The resource type of the deployment target. It can be an environment, service, service instance, or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetResourceType
The resource type of the deployment target. It can be an environment, service, service instance, or component.
- Parameters:
targetResourceType
- The resource type of the deployment target. It can be an environment, service, service instance, or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetState
The target state of the target resource at the time of the deployment.
- Parameters:
targetState
- The target state of the target resource at the time of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetState
The target state of the target resource at the time of the deployment.
This is a convenience method that creates an instance of theDeploymentState.Builder
avoiding the need to create one manually viaDeploymentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetState(DeploymentState)
.- Parameters:
targetState
- a consumer that will call methods onDeploymentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-