Interface DataSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceConfiguration.Builder,,DataSourceConfiguration> SdkBuilder<DataSourceConfiguration.Builder,,DataSourceConfiguration> SdkPojo
- Enclosing class:
DataSourceConfiguration
public static interface DataSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSourceConfiguration.Builders3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) Contains details about the configuration of the S3 object containing the data source.s3Configuration(S3DataSourceConfiguration s3Configuration) Contains details about the configuration of the S3 object containing the data source.The type of storage for the data source.type(DataSourceType type) The type of storage for the data source.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, sdkFields
-
Method Details
-
s3Configuration
Contains details about the configuration of the S3 object containing the data source.
- Parameters:
s3Configuration- Contains details about the configuration of the S3 object containing the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default DataSourceConfiguration.Builder s3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration) Contains details about the configuration of the S3 object containing the data source.
This is a convenience method that creates an instance of theS3DataSourceConfiguration.Builderavoiding the need to create one manually viaS3DataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Configuration(S3DataSourceConfiguration).- Parameters:
s3Configuration- a consumer that will call methods onS3DataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of storage for the data source.
- Parameters:
type- The type of storage for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of storage for the data source.
- Parameters:
type- The type of storage for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-