Interface TextData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TextData.Builder,TextData>,SdkBuilder<TextData.Builder,TextData>,SdkPojo
- Enclosing class:
- TextData
public static interface TextData.Builder extends SdkPojo, CopyableBuilder<TextData.Builder,TextData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextData.Builderexcerpt(Consumer<DocumentText.Builder> excerpt)Sets the value of the Excerpt property for this object.TextData.Builderexcerpt(DocumentText excerpt)Sets the value of the Excerpt property for this object.default TextData.Buildertitle(Consumer<DocumentText.Builder> title)Sets the value of the Title property for this object.TextData.Buildertitle(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, sdkFields
-
-
-
-
Method Detail
-
excerpt
TextData.Builder excerpt(DocumentText 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
default TextData.Builder excerpt(Consumer<DocumentText.Builder> excerpt)
Sets the value of the Excerpt property for this object. This is a convenience method that creates an instance of theDocumentText.Builderavoiding the need to create one manually viaDocumentText.builder().When the
Consumercompletes,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:
excerpt(DocumentText)
-
title
TextData.Builder title(DocumentText 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
default TextData.Builder title(Consumer<DocumentText.Builder> title)
Sets the value of the Title property for this object. This is a convenience method that creates an instance of theDocumentText.Builderavoiding the need to create one manually viaDocumentText.builder().When the
Consumercompletes,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:
title(DocumentText)
-
-