Interface CreateAutomatedReasoningPolicyRequest.Builder

  • Method Details

    • 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

      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

      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.
    • policyDefinition

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

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

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

      Parameters:
      policyDefinition - a consumer that will call methods on AutomatedReasoningPolicyDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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<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:
    • 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.