Interface DataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,,DataSource> SdkBuilder<DataSource.Builder,,DataSource> SdkPojo
- Enclosing class:
DataSource
@Mutable
@NotThreadSafe
public static interface DataSource.Builder
extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSource.Builders3DataSource(Consumer<S3DataSource.Builder> s3DataSource) Amazon S3 path of the input data used by the hybrid job.s3DataSource(S3DataSource s3DataSource) Amazon S3 path of the input data used by the hybrid job.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
-
s3DataSource
Amazon S3 path of the input data used by the hybrid job.
- Parameters:
s3DataSource- Amazon S3 path of the input data used by the hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
Amazon S3 path of the input data used by the hybrid job.
This is a convenience method that creates an instance of theS3DataSource.Builderavoiding the need to create one manually viaS3DataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3DataSource(S3DataSource).- Parameters:
s3DataSource- a consumer that will call methods onS3DataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-