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
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 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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAnnotation.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-