Interface CreateAutomatedReasoningPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateAutomatedReasoningPolicyRequest.Builder,,CreateAutomatedReasoningPolicyRequest> SdkBuilder<CreateAutomatedReasoningPolicyRequest.Builder,,CreateAutomatedReasoningPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAutomatedReasoningPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than once.description(String description) A description of the Automated Reasoning policy.The identifier of the KMS key to use for encrypting the automated reasoning policy and its associated artifacts.A unique name for the Automated Reasoning policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) The policy definition that contains the formal logic rules, variables, and custom variable types used to validate foundation model responses in your application.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.tags(Collection<Tag> tags) A list of tags to associate with the Automated Reasoning policy.tags(Consumer<Tag.Builder>... tags) A list of tags to associate with the Automated Reasoning policy.A list of tags to associate with the Automated Reasoning policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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.
-
policyDefinition
default CreateAutomatedReasoningPolicyRequest.Builder policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> 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 theAutomatedReasoningPolicyDefinition.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyDefinition(AutomatedReasoningPolicyDefinition).- Parameters:
policyDefinition- a consumer that will call methods onAutomatedReasoningPolicyDefinition.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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-