Class CfnDataSource.SnowflakeParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.SnowflakeParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SnowflakeParametersProperty>
- Enclosing interface:
CfnDataSource.SnowflakeParametersProperty
@Stability(Stable)
public static final class CfnDataSource.SnowflakeParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.SnowflakeParametersProperty>
A builder for
CfnDataSource.SnowflakeParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getAuthenticationType()build()Builds the configured instance.Sets the value ofCfnDataSource.SnowflakeParametersProperty.getDatabase()databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getDatabaseAccessControlRole()Sets the value ofCfnDataSource.SnowflakeParametersProperty.getHost()oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getOAuthParameters()oAuthParameters(CfnDataSource.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getOAuthParameters()Sets the value ofCfnDataSource.SnowflakeParametersProperty.getWarehouse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
database
@Stability(Stable) public CfnDataSource.SnowflakeParametersProperty.Builder database(String database) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getDatabase()- Parameters:
database- Database. This parameter is required.- Returns:
this
-
host
Sets the value ofCfnDataSource.SnowflakeParametersProperty.getHost()- Parameters:
host- Host. This parameter is required.- Returns:
this
-
warehouse
@Stability(Stable) public CfnDataSource.SnowflakeParametersProperty.Builder warehouse(String warehouse) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getWarehouse()- Parameters:
warehouse- Warehouse. This parameter is required.- Returns:
this
-
authenticationType
@Stability(Stable) public CfnDataSource.SnowflakeParametersProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getAuthenticationType()- Parameters:
authenticationType- The authentication type that you want to use for your connection. This parameter accepts OAuth and non-OAuth authentication types.- Returns:
this
-
databaseAccessControlRole
@Stability(Stable) public CfnDataSource.SnowflakeParametersProperty.Builder databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSource.SnowflakeParametersProperty.getDatabaseAccessControlRole()- Parameters:
databaseAccessControlRole- The database access control role.- Returns:
this
-
oAuthParameters
@Stability(Stable) public CfnDataSource.SnowflakeParametersProperty.Builder oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSource.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 CfnDataSource.SnowflakeParametersProperty.Builder oAuthParameters(CfnDataSource.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSource.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.SnowflakeParametersProperty>- Returns:
- a new instance of
CfnDataSource.SnowflakeParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-