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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyAnnotatedChunk.Buildercontent(Collection<AutomatedReasoningPolicyAnnotatedContent> content)The lines of text contained within this chunk, each annotated with its line number.AutomatedReasoningPolicyAnnotatedChunk.Buildercontent(Consumer<AutomatedReasoningPolicyAnnotatedContent.Builder>... content)The lines of text contained within this chunk, each annotated with its line number.AutomatedReasoningPolicyAnnotatedChunk.Buildercontent(AutomatedReasoningPolicyAnnotatedContent... content)The lines of text contained within this chunk, each annotated with its line number.AutomatedReasoningPolicyAnnotatedChunk.BuilderpageNumber(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
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
-
pageNumber
AutomatedReasoningPolicyAnnotatedChunk.Builder pageNumber(Integer 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 to#content(List.) - 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:
#content(java.util.Collection)
-
-