Class CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RedshiftStorageProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.RedshiftStorageProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RedshiftStorageProperty>
A builder for
CfnDataSourcePropsMixin.RedshiftStorageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.redshiftClusterSource(CfnDataSourcePropsMixin.RedshiftClusterStorageProperty redshiftClusterSource) redshiftClusterSource(IResolvable redshiftClusterSource) redshiftServerlessSource(CfnDataSourcePropsMixin.RedshiftServerlessStorageProperty redshiftServerlessSource) redshiftServerlessSource(IResolvable redshiftServerlessSource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
redshiftClusterSource
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder redshiftClusterSource(IResolvable redshiftClusterSource) - Parameters:
redshiftClusterSource- The details of the Amazon Redshift cluster source.- Returns:
this
-
redshiftClusterSource
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder redshiftClusterSource(CfnDataSourcePropsMixin.RedshiftClusterStorageProperty redshiftClusterSource) - Parameters:
redshiftClusterSource- The details of the Amazon Redshift cluster source.- Returns:
this
-
redshiftServerlessSource
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder redshiftServerlessSource(IResolvable redshiftServerlessSource) - Parameters:
redshiftServerlessSource- The details of the Amazon Redshift Serverless workgroup source.- Returns:
this
-
redshiftServerlessSource
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftStorageProperty.Builder redshiftServerlessSource(CfnDataSourcePropsMixin.RedshiftServerlessStorageProperty redshiftServerlessSource) - Parameters:
redshiftServerlessSource- The details of the Amazon Redshift Serverless workgroup source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.RedshiftStorageProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.RedshiftStorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-