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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Deployment.BuilderdeploymentId(String deploymentId)The identifier of the last deployment of the environment.Deployment.BuilderdeploymentStatus(String deploymentStatus)The status of the last deployment of the environment.Deployment.BuilderdeploymentStatus(DeploymentStatus deploymentStatus)The status of the last deployment of the environment.Deployment.BuilderdeploymentType(String deploymentType)The type of the last deployment of the environment.Deployment.BuilderdeploymentType(DeploymentType deploymentType)The type of the last deployment of the environment.default Deployment.BuilderfailureReason(Consumer<EnvironmentError.Builder> failureReason)The failure reason of the last deployment of the environment.Deployment.BuilderfailureReason(EnvironmentError failureReason)The failure reason of the last deployment of the environment.Deployment.BuilderisDeploymentComplete(Boolean isDeploymentComplete)Specifies whether the last deployment of the environment is complete.Deployment.Buildermessages(String... messages)The messages of the last deployment of the environment.Deployment.Buildermessages(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 Detail
-
deploymentId
Deployment.Builder deploymentId(String 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
Deployment.Builder deploymentStatus(String 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,DeploymentStatus
-
deploymentStatus
Deployment.Builder deploymentStatus(DeploymentStatus 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,DeploymentStatus
-
deploymentType
Deployment.Builder deploymentType(String 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,DeploymentType
-
deploymentType
Deployment.Builder deploymentType(DeploymentType 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,DeploymentType
-
failureReason
Deployment.Builder failureReason(EnvironmentError 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
default Deployment.Builder failureReason(Consumer<EnvironmentError.Builder> failureReason)
The failure reason of the last deployment of the environment.
This is a convenience method that creates an instance of theEnvironmentError.Builderavoiding the need to create one manually viaEnvironmentError.builder().When the
Consumercompletes,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:
failureReason(EnvironmentError)
-
isDeploymentComplete
Deployment.Builder isDeploymentComplete(Boolean 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
Deployment.Builder messages(Collection<String> 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
Deployment.Builder messages(String... 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.
-
-