Interface UpdatePromptRequest.Builder

    • Method Detail

      • customerEncryptionKeyArn

        UpdatePromptRequest.Builder customerEncryptionKeyArn​(String customerEncryptionKeyArn)

        The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.

        Parameters:
        customerEncryptionKeyArn - The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultVariant

        UpdatePromptRequest.Builder defaultVariant​(String defaultVariant)

        The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.

        Parameters:
        defaultVariant - The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdatePromptRequest.Builder description​(String description)

        A description for the prompt.

        Parameters:
        description - A description for the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdatePromptRequest.Builder name​(String name)

        A name for the prompt.

        Parameters:
        name - A name for the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • promptIdentifier

        UpdatePromptRequest.Builder promptIdentifier​(String promptIdentifier)

        The unique identifier of the prompt.

        Parameters:
        promptIdentifier - The unique identifier of the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variants

        UpdatePromptRequest.Builder variants​(Collection<PromptVariant> variants)

        A list of objects, each containing details about a variant of the prompt.

        Parameters:
        variants - A list of objects, each containing details about a variant of the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variants

        UpdatePromptRequest.Builder variants​(PromptVariant... variants)

        A list of objects, each containing details about a variant of the prompt.

        Parameters:
        variants - A list of objects, each containing details about a variant of the prompt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.