Interface UpdateAutomatedReasoningPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<UpdateAutomatedReasoningPolicyRequest.Builder,UpdateAutomatedReasoningPolicyRequest>,SdkBuilder<UpdateAutomatedReasoningPolicyRequest.Builder,UpdateAutomatedReasoningPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAutomatedReasoningPolicyRequest
@Mutable @NotThreadSafe public static interface UpdateAutomatedReasoningPolicyRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<UpdateAutomatedReasoningPolicyRequest.Builder,UpdateAutomatedReasoningPolicyRequest>
-
-
Method Summary
-
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
-
policyArn
UpdateAutomatedReasoningPolicyRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the Automated Reasoning policy to update. This must be the ARN of a draft policy.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the Automated Reasoning policy to update. This must be the ARN of a draft policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinition
UpdateAutomatedReasoningPolicyRequest.Builder policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition)
The updated policy definition containing the formal logic rules, variables, and types.
- Parameters:
policyDefinition- The updated policy definition containing the formal logic rules, variables, and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinition
default UpdateAutomatedReasoningPolicyRequest.Builder policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition)
The updated policy definition containing the formal logic rules, variables, and types.
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)
-
name
UpdateAutomatedReasoningPolicyRequest.Builder name(String name)
The updated name for the Automated Reasoning policy.
- Parameters:
name- The updated name for the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateAutomatedReasoningPolicyRequest.Builder description(String description)
The updated description for the Automated Reasoning policy.
- Parameters:
description- The updated description for the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAutomatedReasoningPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-