Interface DocumentOutputFormat.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentOutputFormat.Builder,DocumentOutputFormat>,SdkBuilder<DocumentOutputFormat.Builder,DocumentOutputFormat>,SdkPojo
- Enclosing class:
- DocumentOutputFormat
public static interface DocumentOutputFormat.Builder extends SdkPojo, CopyableBuilder<DocumentOutputFormat.Builder,DocumentOutputFormat>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DocumentOutputFormat.BuilderadditionalFileFormat(Consumer<DocumentOutputAdditionalFileFormat.Builder> additionalFileFormat)Sets the value of the AdditionalFileFormat property for this object.DocumentOutputFormat.BuilderadditionalFileFormat(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.DocumentOutputFormat.BuildertextFormat(DocumentOutputTextFormat textFormat)Sets the value of the TextFormat 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 Detail
-
textFormat
DocumentOutputFormat.Builder textFormat(DocumentOutputTextFormat 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:
textFormat(DocumentOutputTextFormat)
-
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:
additionalFileFormat(DocumentOutputAdditionalFileFormat)
-
-