Interface AutomatedReasoningPolicyAnnotatedContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAnnotatedContent.Builder,AutomatedReasoningPolicyAnnotatedContent>,SdkBuilder<AutomatedReasoningPolicyAnnotatedContent.Builder,AutomatedReasoningPolicyAnnotatedContent>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyAnnotatedContent
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyAnnotatedContent.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAnnotatedContent.Builder,AutomatedReasoningPolicyAnnotatedContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyAnnotatedContent.Builderline(Consumer<AutomatedReasoningPolicyAnnotatedLine.Builder> line)An annotated line of text from the source document, including both the line number and the text content.AutomatedReasoningPolicyAnnotatedContent.Builderline(AutomatedReasoningPolicyAnnotatedLine line)An annotated line of text from the source document, including both the line number and the text content.-
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
-
line
AutomatedReasoningPolicyAnnotatedContent.Builder line(AutomatedReasoningPolicyAnnotatedLine line)
An annotated line of text from the source document, including both the line number and the text content.
- Parameters:
line- An annotated line of text from the source document, including both the line number and the text content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
line
default AutomatedReasoningPolicyAnnotatedContent.Builder line(Consumer<AutomatedReasoningPolicyAnnotatedLine.Builder> line)
An annotated line of text from the source document, including both the line number and the text content.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAnnotatedLine.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAnnotatedLine.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toline(AutomatedReasoningPolicyAnnotatedLine).- Parameters:
line- a consumer that will call methods onAutomatedReasoningPolicyAnnotatedLine.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
line(AutomatedReasoningPolicyAnnotatedLine)
-
-