Interface DeploymentModel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentModel.Builder,
,DeploymentModel> SdkBuilder<DeploymentModel.Builder,
,DeploymentModel> SdkPojo
- Enclosing class:
DeploymentModel
public static interface DeploymentModel.Builder
extends SdkPojo, CopyableBuilder<DeploymentModel.Builder,DeploymentModel>
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(String desiredState) The desired state of the model.desiredState
(ModelState desiredState) The desired state of the model.modelHandle
(String modelHandle) The unique handle of the model.The name of the model.modelVersion
(String modelVersion) The version of the model.rollbackFailureReason
(String rollbackFailureReason) Returns the error message if there is a rollback.Returns the current state of the model.state
(ModelState state) Returns the current state of the model.Returns the deployment status of the model.status
(DeploymentStatus status) Returns the deployment status of the model.statusReason
(String statusReason) Returns the error message for the deployment status result.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
-
modelHandle
The unique handle of the model.
- Parameters:
modelHandle
- The unique handle of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
The name of the model.
- Parameters:
modelName
- The name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The version of the model.
- Parameters:
modelVersion
- The version of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredState
The desired state of the model.
- Parameters:
desiredState
- The desired state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
The desired state of the model.
- Parameters:
desiredState
- The desired state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Returns the current state of the model.
- Parameters:
state
- Returns the current state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Returns the current state of the model.
- Parameters:
state
- Returns the current state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the deployment status of the model.
- Parameters:
status
- Returns the deployment status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the deployment status of the model.
- Parameters:
status
- Returns the deployment status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Returns the error message for the deployment status result.
- Parameters:
statusReason
- Returns the error message for the deployment status result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackFailureReason
Returns the error message if there is a rollback.
- Parameters:
rollbackFailureReason
- Returns the error message if there is a rollback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-