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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSourceConfiguration.Builders3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration)Sets the value of the S3Configuration property for this object.DataSourceConfiguration.Builders3Configuration(S3DataSourceConfiguration s3Configuration)Sets the value of the S3Configuration property for this object.DataSourceConfiguration.Buildertype(String type)Sets the value of the Type property for this object.DataSourceConfiguration.Buildertype(DataSourceType type)Sets the value of the Type property for this object.-
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, sdkFields
-
-
-
-
Method Detail
-
type
DataSourceConfiguration.Builder type(String type)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceType,DataSourceType
-
type
DataSourceConfiguration.Builder type(DataSourceType type)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceType,DataSourceType
-
s3Configuration
DataSourceConfiguration.Builder s3Configuration(S3DataSourceConfiguration s3Configuration)
Sets the value of the S3Configuration property for this object.- Parameters:
s3Configuration- The new value for the S3Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default DataSourceConfiguration.Builder s3Configuration(Consumer<S3DataSourceConfiguration.Builder> s3Configuration)
Sets the value of the S3Configuration property for this object. 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:
s3Configuration(S3DataSourceConfiguration)
-
-