Interface GetAutomatedReasoningPolicyAnnotationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetAutomatedReasoningPolicyAnnotationsResponse.Builder,
,GetAutomatedReasoningPolicyAnnotationsResponse> SdkBuilder<GetAutomatedReasoningPolicyAnnotationsResponse.Builder,
,GetAutomatedReasoningPolicyAnnotationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAutomatedReasoningPolicyAnnotationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionannotations
(Collection<AutomatedReasoningPolicyAnnotation> annotations) The current set of annotations containing rules, variables, and types extracted from the source documents.annotations
(Consumer<AutomatedReasoningPolicyAnnotation.Builder>... annotations) The current set of annotations containing rules, variables, and types extracted from the source documents.annotations
(AutomatedReasoningPolicyAnnotation... annotations) The current set of annotations containing rules, variables, and types extracted from the source documents.annotationSetHash
(String annotationSetHash) A hash value representing the current state of the annotations.buildWorkflowId
(String buildWorkflowId) The unique identifier of the build workflow.The name of the Automated Reasoning policy.The Amazon Resource Name (ARN) of the Automated Reasoning policy.The timestamp when the annotations were last updated.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Automated Reasoning policy.
- Parameters:
name
- The name of the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildWorkflowId
The unique identifier of the build workflow.
- Parameters:
buildWorkflowId
- The unique identifier of the build workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
GetAutomatedReasoningPolicyAnnotationsResponse.Builder annotations(Collection<AutomatedReasoningPolicyAnnotation> annotations) The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.
- Parameters:
annotations
- The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
GetAutomatedReasoningPolicyAnnotationsResponse.Builder annotations(AutomatedReasoningPolicyAnnotation... annotations) The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.
- Parameters:
annotations
- The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
GetAutomatedReasoningPolicyAnnotationsResponse.Builder annotations(Consumer<AutomatedReasoningPolicyAnnotation.Builder>... annotations) The current set of annotations containing rules, variables, and types extracted from the source documents. These can be modified before finalizing 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:
-
annotationSetHash
A hash value representing the current state of the annotations. This is used for optimistic concurrency control when updating annotations.
- Parameters:
annotationSetHash
- A hash value representing the current state of the annotations. This is used for optimistic concurrency control when updating annotations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the annotations were last updated.
- Parameters:
updatedAt
- The timestamp when the annotations were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-