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