Interface TextData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextData.Builder,
,TextData> SdkBuilder<TextData.Builder,
,TextData> SdkPojo
- Enclosing class:
TextData
@Mutable
@NotThreadSafe
public static interface TextData.Builder
extends SdkPojo, CopyableBuilder<TextData.Builder,TextData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextData.Builder
excerpt
(Consumer<DocumentText.Builder> excerpt) Sets the value of the Excerpt property for this object.excerpt
(DocumentText excerpt) Sets the value of the Excerpt property for this object.default TextData.Builder
title
(Consumer<DocumentText.Builder> title) Sets the value of the Title property for this object.title
(DocumentText title) Sets the value of the Title property for this object.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 Details
-
title
Sets the value of the Title property for this object.- Parameters:
title
- The new value for the Title property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Sets the value of the Title property for this object. This is a convenience method that creates an instance of theDocumentText.Builder
avoiding the need to create one manually viaDocumentText.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totitle(DocumentText)
.- Parameters:
title
- a consumer that will call methods onDocumentText.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excerpt
Sets the value of the Excerpt property for this object.- Parameters:
excerpt
- The new value for the Excerpt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excerpt
Sets the value of the Excerpt property for this object. This is a convenience method that creates an instance of theDocumentText.Builder
avoiding the need to create one manually viaDocumentText.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcerpt(DocumentText)
.- Parameters:
excerpt
- a consumer that will call methods onDocumentText.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-