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