Interface CreateAutomatedReasoningPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateAutomatedReasoningPolicyRequest.Builder,CreateAutomatedReasoningPolicyRequest>,SdkBuilder<CreateAutomatedReasoningPolicyRequest.Builder,CreateAutomatedReasoningPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAutomatedReasoningPolicyRequest
@Mutable @NotThreadSafe public static interface CreateAutomatedReasoningPolicyRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<CreateAutomatedReasoningPolicyRequest.Builder,CreateAutomatedReasoningPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAutomatedReasoningPolicyRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier to ensure that the operation completes no more than once.CreateAutomatedReasoningPolicyRequest.Builderdescription(String description)A description of the Automated Reasoning policy.CreateAutomatedReasoningPolicyRequest.BuilderkmsKeyId(String kmsKeyId)The identifier of the KMS key to use for encrypting the automated reasoning policy and its associated artifacts.CreateAutomatedReasoningPolicyRequest.Buildername(String name)A unique name for the Automated Reasoning policy.CreateAutomatedReasoningPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAutomatedReasoningPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateAutomatedReasoningPolicyRequest.BuilderpolicyDefinition(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.CreateAutomatedReasoningPolicyRequest.BuilderpolicyDefinition(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.CreateAutomatedReasoningPolicyRequest.Buildertags(Collection<Tag> tags)A list of tags to associate with the Automated Reasoning policy.CreateAutomatedReasoningPolicyRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to associate with the Automated Reasoning policy.CreateAutomatedReasoningPolicyRequest.Buildertags(Tag... tags)A list of tags to associate with the Automated Reasoning policy.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
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:
policyDefinition(AutomatedReasoningPolicyDefinition)
-
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-