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