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