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 Details

    • 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:
    • 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:
    • 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

      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.