Interface DatasetConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetConfig.Builder,,DatasetConfig> SdkBuilder<DatasetConfig.Builder,,DatasetConfig> SdkPojo
- Enclosing class:
DatasetConfig
@Mutable
@NotThreadSafe
public static interface DatasetConfig.Builder
extends SdkPojo, CopyableBuilder<DatasetConfig.Builder,DatasetConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetConfig.Buildersession(Consumer<SessionConfig.Builder> session) The session configuration for a session-type dataset.session(SessionConfig session) The session configuration for a session-type dataset.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
-
session
The session configuration for a session-type dataset.
- Parameters:
session- The session configuration for a session-type dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
The session configuration for a session-type dataset.
This is a convenience method that creates an instance of theSessionConfig.Builderavoiding the need to create one manually viaSessionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosession(SessionConfig).- Parameters:
session- a consumer that will call methods onSessionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-