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.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
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 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.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-