Class CfnDataSource.StarburstParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.StarburstParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.StarburstParametersProperty>
- Enclosing interface:
CfnDataSource.StarburstParametersProperty
@Stability(Stable)
public static final class CfnDataSource.StarburstParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.StarburstParametersProperty>
A builder for
CfnDataSource.StarburstParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) Sets the value ofCfnDataSource.StarburstParametersProperty.getAuthenticationType()build()Builds the configured instance.Sets the value ofCfnDataSource.StarburstParametersProperty.getCatalog()databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSource.StarburstParametersProperty.getDatabaseAccessControlRole()Sets the value ofCfnDataSource.StarburstParametersProperty.getHost()oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSource.StarburstParametersProperty.getOAuthParameters()oAuthParameters(CfnDataSource.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSource.StarburstParametersProperty.getOAuthParameters()Sets the value ofCfnDataSource.StarburstParametersProperty.getPort()productType(String productType) Sets the value ofCfnDataSource.StarburstParametersProperty.getProductType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
Sets the value ofCfnDataSource.StarburstParametersProperty.getCatalog()- Parameters:
catalog- The catalog name for the Starburst data source. This parameter is required.- Returns:
this
-
host
Sets the value ofCfnDataSource.StarburstParametersProperty.getHost()- Parameters:
host- The host name of the Starburst data source. This parameter is required.- Returns:
this
-
port
Sets the value ofCfnDataSource.StarburstParametersProperty.getPort()- Parameters:
port- The port for the Starburst data source. This parameter is required.- Returns:
this
-
authenticationType
@Stability(Stable) public CfnDataSource.StarburstParametersProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnDataSource.StarburstParametersProperty.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.StarburstParametersProperty.Builder databaseAccessControlRole(String databaseAccessControlRole) Sets the value ofCfnDataSource.StarburstParametersProperty.getDatabaseAccessControlRole()- Parameters:
databaseAccessControlRole- The database access control role.- Returns:
this
-
oAuthParameters
@Stability(Stable) public CfnDataSource.StarburstParametersProperty.Builder oAuthParameters(IResolvable oAuthParameters) Sets the value ofCfnDataSource.StarburstParametersProperty.getOAuthParameters()- Parameters:
oAuthParameters- An object that contains information needed to create a data source connection between an Quick Sight account and Starburst.- Returns:
this
-
oAuthParameters
@Stability(Stable) public CfnDataSource.StarburstParametersProperty.Builder oAuthParameters(CfnDataSource.OAuthParametersProperty oAuthParameters) Sets the value ofCfnDataSource.StarburstParametersProperty.getOAuthParameters()- Parameters:
oAuthParameters- An object that contains information needed to create a data source connection between an Quick Sight account and Starburst.- Returns:
this
-
productType
@Stability(Stable) public CfnDataSource.StarburstParametersProperty.Builder productType(String productType) Sets the value ofCfnDataSource.StarburstParametersProperty.getProductType()- Parameters:
productType- The product type for the Starburst data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.StarburstParametersProperty>- Returns:
- a new instance of
CfnDataSource.StarburstParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-