Package com.hashicorp.cdktf
Class PgBackendConfig.Builder
java.lang.Object
com.hashicorp.cdktf.PgBackendConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PgBackendConfig>
- Enclosing interface:
PgBackendConfig
@Stability(Experimental)
public static final class PgBackendConfig.Builder
extends Object
implements software.amazon.jsii.Builder<PgBackendConfig>
A builder for
PgBackendConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofPgBackendConfig.getConnStr()
schemaName
(String schemaName) Sets the value ofPgBackendConfig.getSchemaName()
skipSchemaCreation
(Boolean skipSchemaCreation) Sets the value ofPgBackendConfig.getSkipSchemaCreation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connStr
Sets the value ofPgBackendConfig.getConnStr()
- Parameters:
connStr
- the value to be set. This parameter is required.- Returns:
this
-
schemaName
Sets the value ofPgBackendConfig.getSchemaName()
- Parameters:
schemaName
- the value to be set.- Returns:
this
-
skipSchemaCreation
@Stability(Experimental) public PgBackendConfig.Builder skipSchemaCreation(Boolean skipSchemaCreation) Sets the value ofPgBackendConfig.getSkipSchemaCreation()
- Parameters:
skipSchemaCreation
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PgBackendConfig>
- Returns:
- a new instance of
PgBackendConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-