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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentModel.BuilderdesiredState(String desiredState)The desired state of the model.DeploymentModel.BuilderdesiredState(ModelState desiredState)The desired state of the model.DeploymentModel.BuildermodelHandle(String modelHandle)The unique handle of the model.DeploymentModel.BuildermodelName(String modelName)The name of the model.DeploymentModel.BuildermodelVersion(String modelVersion)The version of the model.DeploymentModel.BuilderrollbackFailureReason(String rollbackFailureReason)Returns the error message if there is a rollback.DeploymentModel.Builderstate(String state)Returns the current state of the model.DeploymentModel.Builderstate(ModelState state)Returns the current state of the model.DeploymentModel.Builderstatus(String status)Returns the deployment status of the model.DeploymentModel.Builderstatus(DeploymentStatus status)Returns the deployment status of the model.DeploymentModel.BuilderstatusReason(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 Detail
-
modelHandle
DeploymentModel.Builder modelHandle(String 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
DeploymentModel.Builder modelName(String 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
DeploymentModel.Builder modelVersion(String 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
DeploymentModel.Builder desiredState(String 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:
ModelState,ModelState
-
desiredState
DeploymentModel.Builder desiredState(ModelState 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:
ModelState,ModelState
-
state
DeploymentModel.Builder state(String 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:
ModelState,ModelState
-
state
DeploymentModel.Builder state(ModelState 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:
ModelState,ModelState
-
status
DeploymentModel.Builder status(String 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:
DeploymentStatus,DeploymentStatus
-
status
DeploymentModel.Builder status(DeploymentStatus 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:
DeploymentStatus,DeploymentStatus
-
statusReason
DeploymentModel.Builder statusReason(String 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
DeploymentModel.Builder rollbackFailureReason(String 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.
-
-