public static final class CfnDataSource.RedshiftParametersProperty.Builder
extends java.lang.Object
CfnDataSource.RedshiftParametersProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.RedshiftParametersProperty |
build()
Builds the configured instance.
|
CfnDataSource.RedshiftParametersProperty.Builder |
clusterId(java.lang.String clusterId)
Sets the value of
CfnDataSource.RedshiftParametersProperty.getClusterId() |
CfnDataSource.RedshiftParametersProperty.Builder |
database(java.lang.String database)
Sets the value of
CfnDataSource.RedshiftParametersProperty.getDatabase() |
CfnDataSource.RedshiftParametersProperty.Builder |
host(java.lang.String host)
Sets the value of
CfnDataSource.RedshiftParametersProperty.getHost() |
CfnDataSource.RedshiftParametersProperty.Builder |
port(java.lang.Number port)
Sets the value of
CfnDataSource.RedshiftParametersProperty.getPort() |
public CfnDataSource.RedshiftParametersProperty.Builder database(java.lang.String database)
CfnDataSource.RedshiftParametersProperty.getDatabase()
database
- Database. This parameter is required.this
public CfnDataSource.RedshiftParametersProperty.Builder clusterId(java.lang.String clusterId)
CfnDataSource.RedshiftParametersProperty.getClusterId()
clusterId
- Cluster ID.
This field can be blank if the Host
and Port
are provided.this
public CfnDataSource.RedshiftParametersProperty.Builder host(java.lang.String host)
CfnDataSource.RedshiftParametersProperty.getHost()
host
- Host.
This field can be blank if ClusterId
is provided.this
public CfnDataSource.RedshiftParametersProperty.Builder port(java.lang.Number port)
CfnDataSource.RedshiftParametersProperty.getPort()
port
- Port.
This field can be blank if the ClusterId
is provided.this
public CfnDataSource.RedshiftParametersProperty build()
CfnDataSource.RedshiftParametersProperty
java.lang.NullPointerException
- if any required attribute was not provided