Class CfnDataSource.RedshiftServerlessStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDataSource.RedshiftServerlessStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.RedshiftServerlessStorageProperty>
- Enclosing interface:
CfnDataSource.RedshiftServerlessStorageProperty
@Stability(Stable)
public static final class CfnDataSource.RedshiftServerlessStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.RedshiftServerlessStorageProperty>
A builder for
CfnDataSource.RedshiftServerlessStorageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.workgroupName(String workgroupName) Sets the value ofCfnDataSource.RedshiftServerlessStorageProperty.getWorkgroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workgroupName
@Stability(Stable) public CfnDataSource.RedshiftServerlessStorageProperty.Builder workgroupName(String workgroupName) Sets the value ofCfnDataSource.RedshiftServerlessStorageProperty.getWorkgroupName()- Parameters:
workgroupName- The name of the Amazon Redshift Serverless workgroup. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.RedshiftServerlessStorageProperty>- Returns:
- a new instance of
CfnDataSource.RedshiftServerlessStorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-