Interface DataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,DataSource>,SdkBuilder<DataSource.Builder,DataSource>,SdkPojo
- Enclosing class:
- DataSource
public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSource.Builders3Config(Consumer<S3Config.Builder> s3Config)The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.DataSource.Builders3Config(S3Config s3Config)The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.-
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
-
s3Config
DataSource.Builder s3Config(S3Config s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
- Parameters:
s3Config- The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Config
default DataSource.Builder s3Config(Consumer<S3Config.Builder> s3Config)
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
This is a convenience method that creates an instance of theS3Config.Builderavoiding the need to create one manually viaS3Config.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Config(S3Config).- Parameters:
s3Config- a consumer that will call methods onS3Config.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Config(S3Config)
-
-