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