Interface RedshiftStorage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftStorage.Builder,
,RedshiftStorage> SdkBuilder<RedshiftStorage.Builder,
,RedshiftStorage> SdkPojo
- Enclosing class:
RedshiftStorage
@Mutable
@NotThreadSafe
public static interface RedshiftStorage.Builder
extends SdkPojo, CopyableBuilder<RedshiftStorage.Builder,RedshiftStorage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RedshiftStorage.Builder
redshiftClusterSource
(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource) The details of the Amazon Redshift cluster source.redshiftClusterSource
(RedshiftClusterStorage redshiftClusterSource) The details of the Amazon Redshift cluster source.default RedshiftStorage.Builder
redshiftServerlessSource
(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource) The details of the Amazon Redshift Serverless workgroup source.redshiftServerlessSource
(RedshiftServerlessStorage redshiftServerlessSource) The details of the Amazon Redshift Serverless workgroup source.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 Details
-
redshiftClusterSource
The details of the Amazon Redshift cluster source.
- Parameters:
redshiftClusterSource
- The details of the Amazon Redshift cluster source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftClusterSource
default RedshiftStorage.Builder redshiftClusterSource(Consumer<RedshiftClusterStorage.Builder> redshiftClusterSource) The details of the Amazon Redshift cluster source.
This is a convenience method that creates an instance of theRedshiftClusterStorage.Builder
avoiding the need to create one manually viaRedshiftClusterStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftClusterSource(RedshiftClusterStorage)
.- Parameters:
redshiftClusterSource
- a consumer that will call methods onRedshiftClusterStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftServerlessSource
RedshiftStorage.Builder redshiftServerlessSource(RedshiftServerlessStorage redshiftServerlessSource) The details of the Amazon Redshift Serverless workgroup source.
- Parameters:
redshiftServerlessSource
- The details of the Amazon Redshift Serverless workgroup source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftServerlessSource
default RedshiftStorage.Builder redshiftServerlessSource(Consumer<RedshiftServerlessStorage.Builder> redshiftServerlessSource) The details of the Amazon Redshift Serverless workgroup source.
This is a convenience method that creates an instance of theRedshiftServerlessStorage.Builder
avoiding the need to create one manually viaRedshiftServerlessStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftServerlessSource(RedshiftServerlessStorage)
.- Parameters:
redshiftServerlessSource
- a consumer that will call methods onRedshiftServerlessStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-