Interface UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder,
,UpdateAutomatedReasoningPolicyAnnotationsRequest> SdkBuilder<UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder,
,UpdateAutomatedReasoningPolicyAnnotationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAutomatedReasoningPolicyAnnotationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionannotations
(Collection<AutomatedReasoningPolicyAnnotation> annotations) The updated annotations containing modified rules, variables, and types for the policy.annotations
(Consumer<AutomatedReasoningPolicyAnnotation.Builder>... annotations) The updated annotations containing modified rules, variables, and types for the policy.annotations
(AutomatedReasoningPolicyAnnotation... annotations) The updated annotations containing modified rules, variables, and types for the policy.buildWorkflowId
(String buildWorkflowId) The unique identifier of the build workflow whose annotations you want to update.lastUpdatedAnnotationSetHash
(String lastUpdatedAnnotationSetHash) The hash value of the annotation set that you're updating.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 whose annotations you want to update.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
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildWorkflowId
The unique identifier of the build workflow whose annotations you want to update.
- Parameters:
buildWorkflowId
- The unique identifier of the build workflow whose annotations you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder annotations(Collection<AutomatedReasoningPolicyAnnotation> annotations) The updated annotations containing modified rules, variables, and types for the policy.
- Parameters:
annotations
- The updated annotations containing modified rules, variables, and types for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder annotations(AutomatedReasoningPolicyAnnotation... annotations) The updated annotations containing modified rules, variables, and types for the policy.
- Parameters:
annotations
- The updated annotations containing modified rules, variables, and types for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder annotations(Consumer<AutomatedReasoningPolicyAnnotation.Builder>... annotations) The updated annotations containing modified rules, variables, and types for the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAnnotation.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyAnnotation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toannotations(List<AutomatedReasoningPolicyAnnotation>)
.- Parameters:
annotations
- a consumer that will call methods onAutomatedReasoningPolicyAnnotation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAnnotationSetHash
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder lastUpdatedAnnotationSetHash(String lastUpdatedAnnotationSetHash) The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.
- Parameters:
lastUpdatedAnnotationSetHash
- The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAutomatedReasoningPolicyAnnotationsRequest.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
UpdateAutomatedReasoningPolicyAnnotationsRequest.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.
-