Class CfnDataSourcePropsMixin.TrinoParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.TrinoParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.TrinoParametersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.TrinoParametersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.TrinoParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.TrinoParametersProperty>
A builder for
CfnDataSourcePropsMixin.TrinoParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getCatalog()Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getHost()Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
@Stability(Stable) public CfnDataSourcePropsMixin.TrinoParametersProperty.Builder catalog(String catalog) Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getCatalog()- Parameters:
catalog- The catalog name for the Trino data source.- Returns:
this
-
host
Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getHost()- Parameters:
host- The host name of the Trino data source.- Returns:
this
-
port
Sets the value ofCfnDataSourcePropsMixin.TrinoParametersProperty.getPort()- Parameters:
port- The port for the Trino data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.TrinoParametersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.TrinoParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-