Class CfnDataSource.RedshiftParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.RedshiftParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.RedshiftParametersProperty>
- Enclosing interface:
CfnDataSource.RedshiftParametersProperty
@Stability(Stable)
public static final class CfnDataSource.RedshiftParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.RedshiftParametersProperty>
A builder for
CfnDataSource.RedshiftParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.RedshiftParametersProperty.getClusterId()Sets the value ofCfnDataSource.RedshiftParametersProperty.getDatabase()Sets the value ofCfnDataSource.RedshiftParametersProperty.getHost()iamParameters(IResolvable iamParameters) Sets the value ofCfnDataSource.RedshiftParametersProperty.getIamParameters()iamParameters(CfnDataSource.RedshiftIAMParametersProperty iamParameters) Sets the value ofCfnDataSource.RedshiftParametersProperty.getIamParameters()identityCenterConfiguration(IResolvable identityCenterConfiguration) identityCenterConfiguration(CfnDataSource.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnDataSource.RedshiftParametersProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
database
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder database(String database) Sets the value ofCfnDataSource.RedshiftParametersProperty.getDatabase()- Parameters:
database- Database. This parameter is required.- Returns:
this
-
clusterId
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder clusterId(String clusterId) Sets the value ofCfnDataSource.RedshiftParametersProperty.getClusterId()- Parameters:
clusterId- Cluster ID. This field can be blank if theHostandPortare provided.- Returns:
this
-
host
Sets the value ofCfnDataSource.RedshiftParametersProperty.getHost()- Parameters:
host- Host. This field can be blank ifClusterIdis provided.- Returns:
this
-
iamParameters
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder iamParameters(IResolvable iamParameters) Sets the value ofCfnDataSource.RedshiftParametersProperty.getIamParameters()- Parameters:
iamParameters- An optional parameter that uses IAM authentication to grant Quick Sight access to your cluster. This parameter can be used instead of DataSourceCredentials .- Returns:
this
-
iamParameters
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder iamParameters(CfnDataSource.RedshiftIAMParametersProperty iamParameters) Sets the value ofCfnDataSource.RedshiftParametersProperty.getIamParameters()- Parameters:
iamParameters- An optional parameter that uses IAM authentication to grant Quick Sight access to your cluster. This parameter can be used instead of DataSourceCredentials .- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder identityCenterConfiguration(IResolvable identityCenterConfiguration) - Parameters:
identityCenterConfiguration- An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your cluster. This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSource.RedshiftParametersProperty.Builder identityCenterConfiguration(CfnDataSource.IdentityCenterConfigurationProperty identityCenterConfiguration) - Parameters:
identityCenterConfiguration- An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your cluster. This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.- Returns:
this
-
port
Sets the value ofCfnDataSource.RedshiftParametersProperty.getPort()- Parameters:
port- Port. This field can be blank if theClusterIdis provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.RedshiftParametersProperty>- Returns:
- a new instance of
CfnDataSource.RedshiftParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-