Interface CreateAutomatedReasoningPolicyRequest.Builder

    • Method Detail

      • name

        CreateAutomatedReasoningPolicyRequest.Builder name​(String name)

        A unique name for the Automated Reasoning policy. The name must be between 1 and 63 characters and can contain letters, numbers, hyphens, and underscores.

        Parameters:
        name - A unique name for the Automated Reasoning policy. The name must be between 1 and 63 characters and can contain letters, numbers, hyphens, and underscores.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateAutomatedReasoningPolicyRequest.Builder description​(String description)

        A description of the Automated Reasoning policy. Use this to provide context about the policy's purpose and the types of validations it performs.

        Parameters:
        description - A description of the Automated Reasoning policy. Use this to provide context about the policy's purpose and the types of validations it performs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        CreateAutomatedReasoningPolicyRequest.Builder clientRequestToken​(String clientRequestToken)

        A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.

        Parameters:
        clientRequestToken - A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDefinition

        CreateAutomatedReasoningPolicyRequest.Builder policyDefinition​(AutomatedReasoningPolicyDefinition policyDefinition)

        The policy definition that contains the formal logic rules, variables, and custom variable types used to validate foundation model responses in your application.

        Parameters:
        policyDefinition - The policy definition that contains the formal logic rules, variables, and custom variable types used to validate foundation model responses in your application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        CreateAutomatedReasoningPolicyRequest.Builder kmsKeyId​(String kmsKeyId)

        The identifier of the KMS key to use for encrypting the automated reasoning policy and its associated artifacts. If you don't specify a KMS key, Amazon Bedrock uses an KMS managed key for encryption. For enhanced security and control, you can specify a customer managed KMS key.

        Parameters:
        kmsKeyId - The identifier of the KMS key to use for encrypting the automated reasoning policy and its associated artifacts. If you don't specify a KMS key, Amazon Bedrock uses an KMS managed key for encryption. For enhanced security and control, you can specify a customer managed KMS key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAutomatedReasoningPolicyRequest.Builder tags​(Collection<Tag> tags)

        A list of tags to associate with the Automated Reasoning policy. Tags help you organize and manage your policies.

        Parameters:
        tags - A list of tags to associate with the Automated Reasoning policy. Tags help you organize and manage your policies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAutomatedReasoningPolicyRequest.Builder tags​(Tag... tags)

        A list of tags to associate with the Automated Reasoning policy. Tags help you organize and manage your policies.

        Parameters:
        tags - A list of tags to associate with the Automated Reasoning policy. Tags help you organize and manage your policies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAutomatedReasoningPolicyRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags to associate with the Automated Reasoning policy. Tags help you organize and manage your policies.

        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)