Interface DeploymentResult.Builder

    • Method Detail

      • deploymentName

        DeploymentResult.Builder deploymentName​(String deploymentName)

        The name and unique ID of the deployment.

        Parameters:
        deploymentName - The name and unique ID of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentStatus

        DeploymentResult.Builder deploymentStatus​(String deploymentStatus)

        Returns the bucket error code.

        Parameters:
        deploymentStatus - Returns the bucket error code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentStatusMessage

        DeploymentResult.Builder deploymentStatusMessage​(String deploymentStatusMessage)

        Returns the detailed error message.

        Parameters:
        deploymentStatusMessage - Returns the detailed error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentStartTime

        DeploymentResult.Builder deploymentStartTime​(Instant deploymentStartTime)

        The timestamp of when the deployment was started on the agent.

        Parameters:
        deploymentStartTime - The timestamp of when the deployment was started on the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentEndTime

        DeploymentResult.Builder deploymentEndTime​(Instant deploymentEndTime)

        The timestamp of when the deployment was ended, and the agent got the deployment results.

        Parameters:
        deploymentEndTime - The timestamp of when the deployment was ended, and the agent got the deployment results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentModels

        DeploymentResult.Builder deploymentModels​(Collection<DeploymentModel> deploymentModels)

        Returns a list of models deployed on the agent.

        Parameters:
        deploymentModels - Returns a list of models deployed on the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentModels

        DeploymentResult.Builder deploymentModels​(DeploymentModel... deploymentModels)

        Returns a list of models deployed on the agent.

        Parameters:
        deploymentModels - Returns a list of models deployed on the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.