Interface UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder,UpdateAutomatedReasoningPolicyAnnotationsRequest>,SdkBuilder<UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder,UpdateAutomatedReasoningPolicyAnnotationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAutomatedReasoningPolicyAnnotationsRequest
@Mutable @NotThreadSafe public static interface UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder,UpdateAutomatedReasoningPolicyAnnotationsRequest>
-
-
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
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder policyArn(String 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
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder buildWorkflowId(String 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 to#annotations(List.) - 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:
#annotations(java.util.Collection)
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAutomatedReasoningPolicyAnnotationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-