Class CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RedshiftParametersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.RedshiftParametersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RedshiftParametersProperty>
A builder for
CfnDataSourcePropsMixin.RedshiftParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getClusterId()Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getDatabase()Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getHost()Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getIamParameters()iamParameters(IResolvable iamParameters) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getIamParameters()identityCenterConfiguration(CfnDataSourcePropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterId
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder clusterId(String clusterId) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getClusterId()- Parameters:
clusterId- Cluster ID. This field can be blank if theHostandPortare provided.- Returns:
this
-
database
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder database(String database) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getDatabase()- Parameters:
database- Database.- Returns:
this
-
host
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder host(String host) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getHost()- Parameters:
host- Host. This field can be blank ifClusterIdis provided.- Returns:
this
-
iamParameters
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder iamParameters(IResolvable iamParameters) Sets the value ofCfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder iamParameters(CfnDataSourcePropsMixin.RedshiftIAMParametersProperty iamParameters) Sets the value ofCfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getIdentityCenterConfiguration()- 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 CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder identityCenterConfiguration(CfnDataSourcePropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnDataSourcePropsMixin.RedshiftParametersProperty.getIdentityCenterConfiguration()- 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
@Stability(Stable) public CfnDataSourcePropsMixin.RedshiftParametersProperty.Builder port(Number port) Sets the value ofCfnDataSourcePropsMixin.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<CfnDataSourcePropsMixin.RedshiftParametersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.RedshiftParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-