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
Modifier and TypeMethodDescriptiondefault TextData.Builderexcerpt(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.Buildertitle(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.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:
-
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.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:
-