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