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