Interface DocumentOutputFormat.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentOutputFormat.Builder,,DocumentOutputFormat> SdkBuilder<DocumentOutputFormat.Builder,,DocumentOutputFormat> SdkPojo
- Enclosing class:
DocumentOutputFormat
@Mutable
@NotThreadSafe
public static interface DocumentOutputFormat.Builder
extends SdkPojo, CopyableBuilder<DocumentOutputFormat.Builder,DocumentOutputFormat>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DocumentOutputFormat.BuilderadditionalFileFormat(Consumer<DocumentOutputAdditionalFileFormat.Builder> additionalFileFormat) Sets the value of the AdditionalFileFormat property for this object.additionalFileFormat(DocumentOutputAdditionalFileFormat additionalFileFormat) Sets the value of the AdditionalFileFormat property for this object.default DocumentOutputFormat.BuildertextFormat(Consumer<DocumentOutputTextFormat.Builder> textFormat) Sets the value of the TextFormat property for this object.textFormat(DocumentOutputTextFormat textFormat) Sets the value of the TextFormat 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, sdkFieldNameToField, sdkFields
-
Method Details
-
textFormat
Sets the value of the TextFormat property for this object.- Parameters:
textFormat- The new value for the TextFormat property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textFormat
default DocumentOutputFormat.Builder textFormat(Consumer<DocumentOutputTextFormat.Builder> textFormat) Sets the value of the TextFormat property for this object. This is a convenience method that creates an instance of theDocumentOutputTextFormat.Builderavoiding the need to create one manually viaDocumentOutputTextFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totextFormat(DocumentOutputTextFormat).- Parameters:
textFormat- a consumer that will call methods onDocumentOutputTextFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalFileFormat
DocumentOutputFormat.Builder additionalFileFormat(DocumentOutputAdditionalFileFormat additionalFileFormat) Sets the value of the AdditionalFileFormat property for this object.- Parameters:
additionalFileFormat- The new value for the AdditionalFileFormat property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalFileFormat
default DocumentOutputFormat.Builder additionalFileFormat(Consumer<DocumentOutputAdditionalFileFormat.Builder> additionalFileFormat) Sets the value of the AdditionalFileFormat property for this object. This is a convenience method that creates an instance of theDocumentOutputAdditionalFileFormat.Builderavoiding the need to create one manually viaDocumentOutputAdditionalFileFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalFileFormat(DocumentOutputAdditionalFileFormat).- Parameters:
additionalFileFormat- a consumer that will call methods onDocumentOutputAdditionalFileFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-