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
Modifier and TypeMethodDescriptiondescription(String description) The updated description for the Automated Reasoning policy.The updated 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.The Amazon Resource Name (ARN) of the Automated Reasoning policy to update.policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) The updated policy definition containing the formal logic rules, variables, and types.policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition) The updated policy definition containing the formal logic rules, variables, and types.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
-
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:
-
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
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) 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
UpdateAutomatedReasoningPolicyRequest.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.
-