Interface CreateCustomModelDeploymentRequest.Builder

  • Method Details

    • modelDeploymentName

      CreateCustomModelDeploymentRequest.Builder modelDeploymentName(String modelDeploymentName)

      The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.

      Parameters:
      modelDeploymentName - The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.
      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 to deploy for on-demand inference. The custom model must be in the Active state.

      Parameters:
      modelArn - The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in the Active state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description for the custom model deployment to help you identify its purpose.

      Parameters:
      description - A description for the custom model deployment to help you identify its purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.

      Parameters:
      tags - Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.

      Parameters:
      tags - Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.

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

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

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

      CreateCustomModelDeploymentRequest.Builder clientRequestToken(String clientRequestToken)

      A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

      Parameters:
      clientRequestToken - A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.