@Stability(value=Experimental) public static final class DataTerraformRemoteStatePgConfig.Builder extends Object implements software.amazon.jsii.Builder<DataTerraformRemoteStatePgConfig>
DataTerraformRemoteStatePgConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataTerraformRemoteStatePgConfig |
build()
Builds the configured instance.
|
DataTerraformRemoteStatePgConfig.Builder |
connStr(String connStr)
Sets the value of
PgBackendProps.getConnStr() |
DataTerraformRemoteStatePgConfig.Builder |
defaults(Map<String,? extends Object> defaults)
Sets the value of
DataTerraformRemoteStateConfig.getDefaults() |
DataTerraformRemoteStatePgConfig.Builder |
schemaName(String schemaName)
Sets the value of
PgBackendProps.getSchemaName() |
DataTerraformRemoteStatePgConfig.Builder |
skipSchemaCreation(Boolean skipSchemaCreation)
Sets the value of
PgBackendProps.getSkipSchemaCreation() |
DataTerraformRemoteStatePgConfig.Builder |
workspace(String workspace)
Sets the value of
DataTerraformRemoteStateConfig.getWorkspace() |
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig.Builder defaults(Map<String,? extends Object> defaults)
DataTerraformRemoteStateConfig.getDefaults()
defaults
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig.Builder workspace(String workspace)
DataTerraformRemoteStateConfig.getWorkspace()
workspace
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig.Builder connStr(String connStr)
PgBackendProps.getConnStr()
connStr
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig.Builder schemaName(String schemaName)
PgBackendProps.getSchemaName()
schemaName
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig.Builder skipSchemaCreation(Boolean skipSchemaCreation)
PgBackendProps.getSkipSchemaCreation()
skipSchemaCreation
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStatePgConfig build()
build
in interface software.amazon.jsii.Builder<DataTerraformRemoteStatePgConfig>
DataTerraformRemoteStatePgConfig
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.