Interface DeploymentModel.Builder

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