Interface CreateCustomModelDeploymentRequest.Builder

    • Method Detail

      • 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

        CreateCustomModelDeploymentRequest.Builder modelArn​(String 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

        CreateCustomModelDeploymentRequest.Builder description​(String 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

        CreateCustomModelDeploymentRequest.Builder tags​(Collection<Tag> 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

        CreateCustomModelDeploymentRequest.Builder tags​(Tag... 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

        CreateCustomModelDeploymentRequest.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • 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.