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
Modifier and TypeMethodDescriptionAn annotated line of text from the source document, including both the line number and the text content.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
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
-
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:
-