Interface GetAutomatedReasoningPolicyAnnotationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetAutomatedReasoningPolicyAnnotationsResponse.Builder,GetAutomatedReasoningPolicyAnnotationsResponse>,SdkBuilder<GetAutomatedReasoningPolicyAnnotationsResponse.Builder,GetAutomatedReasoningPolicyAnnotationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAutomatedReasoningPolicyAnnotationsResponse
@Mutable @NotThreadSafe public static interface GetAutomatedReasoningPolicyAnnotationsResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetAutomatedReasoningPolicyAnnotationsResponse.Builder,GetAutomatedReasoningPolicyAnnotationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAutomatedReasoningPolicyAnnotationsResponse.Builderannotations(Collection<AutomatedReasoningPolicyAnnotation> annotations)The current set of annotations containing rules, variables, and types extracted from the source documents.GetAutomatedReasoningPolicyAnnotationsResponse.Builderannotations(Consumer<AutomatedReasoningPolicyAnnotation.Builder>... annotations)The current set of annotations containing rules, variables, and types extracted from the source documents.GetAutomatedReasoningPolicyAnnotationsResponse.Builderannotations(AutomatedReasoningPolicyAnnotation... annotations)The current set of annotations containing rules, variables, and types extracted from the source documents.GetAutomatedReasoningPolicyAnnotationsResponse.BuilderannotationSetHash(String annotationSetHash)A hash value representing the current state of the annotations.GetAutomatedReasoningPolicyAnnotationsResponse.BuilderbuildWorkflowId(String buildWorkflowId)The unique identifier of the build workflow.GetAutomatedReasoningPolicyAnnotationsResponse.Buildername(String name)The name of the Automated Reasoning policy.GetAutomatedReasoningPolicyAnnotationsResponse.BuilderpolicyArn(String policyArn)The Amazon Resource Name (ARN) of the Automated Reasoning policy.GetAutomatedReasoningPolicyAnnotationsResponse.BuilderupdatedAt(Instant updatedAt)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 Detail
-
policyArn
GetAutomatedReasoningPolicyAnnotationsResponse.Builder policyArn(String 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
GetAutomatedReasoningPolicyAnnotationsResponse.Builder name(String 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
GetAutomatedReasoningPolicyAnnotationsResponse.Builder buildWorkflowId(String 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.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)
-
annotationSetHash
GetAutomatedReasoningPolicyAnnotationsResponse.Builder annotationSetHash(String 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
GetAutomatedReasoningPolicyAnnotationsResponse.Builder updatedAt(Instant 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.
-
-