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