Interface AutomatedReasoningPolicyAnnotatedChunk.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAnnotatedChunk.Builder,,AutomatedReasoningPolicyAnnotatedChunk> SdkBuilder<AutomatedReasoningPolicyAnnotatedChunk.Builder,,AutomatedReasoningPolicyAnnotatedChunk> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyAnnotatedChunk
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyAnnotatedChunk.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAnnotatedChunk.Builder,AutomatedReasoningPolicyAnnotatedChunk>
-
Method Summary
Modifier and TypeMethodDescriptionThe lines of text contained within this chunk, each annotated with its line number.The lines of text contained within this chunk, each annotated with its line number.content(AutomatedReasoningPolicyAnnotatedContent... content) The lines of text contained within this chunk, each annotated with its line number.pageNumber(Integer pageNumber) The page number where this chunk begins, if the document is divided into pages.Methods 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
-
pageNumber
The page number where this chunk begins, if the document is divided into pages.
- Parameters:
pageNumber- The page number where this chunk begins, if the document is divided into pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
AutomatedReasoningPolicyAnnotatedChunk.Builder content(Collection<AutomatedReasoningPolicyAnnotatedContent> content) The lines of text contained within this chunk, each annotated with its line number.
- Parameters:
content- The lines of text contained within this chunk, each annotated with its line number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
AutomatedReasoningPolicyAnnotatedChunk.Builder content(AutomatedReasoningPolicyAnnotatedContent... content) The lines of text contained within this chunk, each annotated with its line number.
- Parameters:
content- The lines of text contained within this chunk, each annotated with its line number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
AutomatedReasoningPolicyAnnotatedChunk.Builder content(Consumer<AutomatedReasoningPolicyAnnotatedContent.Builder>... content) The lines of text contained within this chunk, each annotated with its line number.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAnnotatedContent.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAnnotatedContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(List<AutomatedReasoningPolicyAnnotatedContent>).- Parameters:
content- a consumer that will call methods onAutomatedReasoningPolicyAnnotatedContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-