Interface TsvOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TsvOptions.Builder,
,TsvOptions> SdkBuilder<TsvOptions.Builder,
,TsvOptions> SdkPojo
- Enclosing class:
TsvOptions
@Mutable
@NotThreadSafe
public static interface TsvOptions.Builder
extends SdkPojo, CopyableBuilder<TsvOptions.Builder,TsvOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TsvOptions.Builder
readOptions
(Consumer<ReadOptions.Builder> readOptions) The file's read options.readOptions
(ReadOptions readOptions) The file's read options.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
-
readOptions
The file's read options.
- Parameters:
readOptions
- The file's read options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOptions
The file's read options.
This is a convenience method that creates an instance of theReadOptions.Builder
avoiding the need to create one manually viaReadOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreadOptions(ReadOptions)
.- Parameters:
readOptions
- a consumer that will call methods onReadOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-