Class CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SnowflakeParametersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SnowflakeParametersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SnowflakeParametersProperty>
A builder for
CfnDataSourcePropsMixin.SnowflakeParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) build()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getDatabase()databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getHost()oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getOAuthParameters()oAuthParameters(CfnDataSourcePropsMixin.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getOAuthParameters()Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getWarehouse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder authenticationType(String authenticationType) - Parameters:
authenticationType- The authentication type that you want to use for your connection. This parameter accepts OAuth and non-OAuth authentication types.- Returns:
this
-
database
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder database(String database) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getDatabase()- Parameters:
database- Database.- Returns:
this
-
databaseAccessControlRole
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getDatabaseAccessControlRole()- Parameters:
databaseAccessControlRole- The database access control role.- Returns:
this
-
host
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder host(String host) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getHost()- Parameters:
host- Host.- Returns:
this
-
oAuthParameters
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getOAuthParameters()- Parameters:
oAuthParameters- An object that contains information needed to create a data source connection between an Quick Sight account and Snowflake.- Returns:
this
-
oAuthParameters
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder oAuthParameters(CfnDataSourcePropsMixin.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getOAuthParameters()- Parameters:
oAuthParameters- An object that contains information needed to create a data source connection between an Quick Sight account and Snowflake.- Returns:
this
-
warehouse
@Stability(Stable) public CfnDataSourcePropsMixin.SnowflakeParametersProperty.Builder warehouse(String warehouse) Sets the value ofCfnDataSourcePropsMixin.SnowflakeParametersProperty.getWarehouse()- Parameters:
warehouse- Warehouse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SnowflakeParametersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SnowflakeParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-