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