Interface DeploymentResult.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeploymentResult.Builder,DeploymentResult>, SdkBuilder<DeploymentResult.Builder,DeploymentResult>, SdkPojo
Enclosing class:
DeploymentResult

public static interface DeploymentResult.Builder extends SdkPojo, CopyableBuilder<DeploymentResult.Builder,DeploymentResult>
  • Method Details

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

      DeploymentResult.Builder deploymentModels(Consumer<DeploymentModel.Builder>... deploymentModels)

      Returns a list of models deployed on the agent.

      This is a convenience method that creates an instance of the DeploymentModel.Builder avoiding the need to create one manually via DeploymentModel.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentModels(List<DeploymentModel>).

      Parameters:
      deploymentModels - a consumer that will call methods on DeploymentModel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: