Interface GetCustomModelDeploymentResponse.Builder

  • Method Details

    • customModelDeploymentArn

      GetCustomModelDeploymentResponse.Builder customModelDeploymentArn(String customModelDeploymentArn)

      The Amazon Resource Name (ARN) of the custom model deployment.

      Parameters:
      customModelDeploymentArn - The Amazon Resource Name (ARN) of the custom model deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelDeploymentName

      GetCustomModelDeploymentResponse.Builder modelDeploymentName(String modelDeploymentName)

      The name of the custom model deployment.

      Parameters:
      modelDeploymentName - The name of the custom model deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelArn

      The Amazon Resource Name (ARN) of the custom model associated with this deployment.

      Parameters:
      modelArn - The Amazon Resource Name (ARN) of the custom model associated with this deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time when the custom model deployment was created.

      Parameters:
      createdAt - The date and time when the custom model deployment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the custom model deployment. Possible values are:

      • CREATING - The deployment is being set up and prepared for inference.

      • ACTIVE - The deployment is ready and available for inference requests.

      • FAILED - The deployment failed to be created or became unavailable.

      Parameters:
      status - The status of the custom model deployment. Possible values are:

      • CREATING - The deployment is being set up and prepared for inference.

      • ACTIVE - The deployment is ready and available for inference requests.

      • FAILED - The deployment failed to be created or became unavailable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the custom model deployment. Possible values are:

      • CREATING - The deployment is being set up and prepared for inference.

      • ACTIVE - The deployment is ready and available for inference requests.

      • FAILED - The deployment failed to be created or became unavailable.

      Parameters:
      status - The status of the custom model deployment. Possible values are:

      • CREATING - The deployment is being set up and prepared for inference.

      • ACTIVE - The deployment is ready and available for inference requests.

      • FAILED - The deployment failed to be created or became unavailable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      The description of the custom model deployment.

      Parameters:
      description - The description of the custom model deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateDetails

      Details about any pending or completed updates to the custom model deployment, including the new model ARN and update status.

      Parameters:
      updateDetails - Details about any pending or completed updates to the custom model deployment, including the new model ARN and update status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateDetails

      Details about any pending or completed updates to the custom model deployment, including the new model ARN and update status.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to updateDetails(CustomModelDeploymentUpdateDetails).

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

      GetCustomModelDeploymentResponse.Builder failureMessage(String failureMessage)

      If the deployment status is FAILED, this field contains a message describing the failure reason.

      Parameters:
      failureMessage - If the deployment status is FAILED, this field contains a message describing the failure reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetCustomModelDeploymentResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time when the custom model deployment was last updated.

      Parameters:
      lastUpdatedAt - The date and time when the custom model deployment was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.