Interface Deployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Deployment.Builder,
,Deployment> SdkBuilder<Deployment.Builder,
,Deployment> SdkPojo
- Enclosing class:
Deployment
public static interface Deployment.Builder
extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(String deploymentId) The identifier of the last deployment of the environment.deploymentStatus
(String deploymentStatus) The status of the last deployment of the environment.deploymentStatus
(DeploymentStatus deploymentStatus) The status of the last deployment of the environment.deploymentType
(String deploymentType) The type of the last deployment of the environment.deploymentType
(DeploymentType deploymentType) The type of the last deployment of the environment.default Deployment.Builder
failureReason
(Consumer<EnvironmentError.Builder> failureReason) The failure reason of the last deployment of the environment.failureReason
(EnvironmentError failureReason) The failure reason of the last deployment of the environment.isDeploymentComplete
(Boolean isDeploymentComplete) Specifies whether the last deployment of the environment is complete.The messages of the last deployment of the environment.messages
(Collection<String> messages) The messages of the last deployment of the environment.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
-
deploymentId
The identifier of the last deployment of the environment.
- Parameters:
deploymentId
- The identifier of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
The status of the last deployment of the environment.
- Parameters:
deploymentStatus
- The status of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStatus
The status of the last deployment of the environment.
- Parameters:
deploymentStatus
- The status of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
The type of the last deployment of the environment.
- Parameters:
deploymentType
- The type of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
The type of the last deployment of the environment.
- Parameters:
deploymentType
- The type of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The failure reason of the last deployment of the environment.
- Parameters:
failureReason
- The failure reason of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The failure reason of the last deployment of the environment.
This is a convenience method that creates an instance of theEnvironmentError.Builder
avoiding the need to create one manually viaEnvironmentError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureReason(EnvironmentError)
.- Parameters:
failureReason
- a consumer that will call methods onEnvironmentError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isDeploymentComplete
Specifies whether the last deployment of the environment is complete.
- Parameters:
isDeploymentComplete
- Specifies whether the last deployment of the environment is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
The messages of the last deployment of the environment.
- Parameters:
messages
- The messages of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
The messages of the last deployment of the environment.
- Parameters:
messages
- The messages of the last deployment of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-