Class SpannerDatabaseConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.spanner_database.SpannerDatabaseConfig.Jsii$Proxy
-
- All Implemented Interfaces:
SpannerDatabaseConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SpannerDatabaseConfig
@Stability(Stable) @Internal public static final class SpannerDatabaseConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SpannerDatabaseConfig
An implementation forSpannerDatabaseConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.spanner_database.SpannerDatabaseConfig
SpannerDatabaseConfig.Builder, SpannerDatabaseConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(SpannerDatabaseConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theSpannerDatabaseConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetConnection()ObjectgetCount()StringgetDatabaseDialect()The dialect of the Cloud Spanner Database.List<String>getDdl()An optional list of DDL statements to run inside the newly created database.ObjectgetDeletionProtection()Whether Terraform will be prevented from destroying the database.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()ObjectgetEnableDropProtection()Whether drop protection is enabled for this database.SpannerDatabaseEncryptionConfiggetEncryptionConfig()encryption_config block.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#id SpannerDatabase#id}.StringgetInstance()The instance to create the database on.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()A unique identifier for the database, which cannot be changed after the instance is created.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#project SpannerDatabase#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()SpannerDatabaseTimeoutsgetTimeouts()timeouts block.StringgetVersionRetentionPeriod()The retention period for the database.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(SpannerDatabaseConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theSpannerDatabaseConfig.Builder.
-
-
Method Detail
-
getInstance
public final String getInstance()
Description copied from interface:SpannerDatabaseConfigThe instance to create the database on.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#instance SpannerDatabase#instance}
- Specified by:
getInstancein interfaceSpannerDatabaseConfig
-
getName
public final String getName()
Description copied from interface:SpannerDatabaseConfigA unique identifier for the database, which cannot be changed after the instance is created.Values are of the form [a-z][-a-z0-9]*[a-z0-9]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#name SpannerDatabase#name}
- Specified by:
getNamein interfaceSpannerDatabaseConfig
-
getDatabaseDialect
public final String getDatabaseDialect()
Description copied from interface:SpannerDatabaseConfigThe dialect of the Cloud Spanner Database. If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Possible values: ["GOOGLE_STANDARD_SQL", "POSTGRESQL"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#database_dialect SpannerDatabase#database_dialect}
- Specified by:
getDatabaseDialectin interfaceSpannerDatabaseConfig
-
getDdl
public final List<String> getDdl()
Description copied from interface:SpannerDatabaseConfigAn optional list of DDL statements to run inside the newly created database.Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#ddl SpannerDatabase#ddl}
- Specified by:
getDdlin interfaceSpannerDatabaseConfig
-
getDeletionProtection
public final Object getDeletionProtection()
Description copied from interface:SpannerDatabaseConfigWhether Terraform will be prevented from destroying the database.Defaults to true. When a'terraform destroy' or 'terraform apply' would delete the database, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, a 'terraform apply' or 'terraform destroy' that would delete the database will fail. When the field is set to false, deleting the database is allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#deletion_protection SpannerDatabase#deletion_protection}
- Specified by:
getDeletionProtectionin interfaceSpannerDatabaseConfig
-
getEnableDropProtection
public final Object getEnableDropProtection()
Description copied from interface:SpannerDatabaseConfigWhether drop protection is enabled for this database.Defaults to false. Drop protection is different from the "deletion_protection" attribute in the following ways: (1) "deletion_protection" only protects the database from deletions in Terraform. whereas setting “enableDropProtection” to true protects the database from deletions in all interfaces. (2) Setting "enableDropProtection" to true also prevents the deletion of the parent instance containing the database. "deletion_protection" attribute does not provide protection against the deletion of the parent instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#enable_drop_protection SpannerDatabase#enable_drop_protection}
- Specified by:
getEnableDropProtectionin interfaceSpannerDatabaseConfig
-
getEncryptionConfig
public final SpannerDatabaseEncryptionConfig getEncryptionConfig()
Description copied from interface:SpannerDatabaseConfigencryption_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#encryption_config SpannerDatabase#encryption_config}
- Specified by:
getEncryptionConfigin interfaceSpannerDatabaseConfig
-
getId
public final String getId()
Description copied from interface:SpannerDatabaseConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#id SpannerDatabase#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceSpannerDatabaseConfig
-
getProject
public final String getProject()
Description copied from interface:SpannerDatabaseConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#project SpannerDatabase#project}.- Specified by:
getProjectin interfaceSpannerDatabaseConfig
-
getTimeouts
public final SpannerDatabaseTimeouts getTimeouts()
Description copied from interface:SpannerDatabaseConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#timeouts SpannerDatabase#timeouts}
- Specified by:
getTimeoutsin interfaceSpannerDatabaseConfig
-
getVersionRetentionPeriod
public final String getVersionRetentionPeriod()
Description copied from interface:SpannerDatabaseConfigThe retention period for the database.The retention period must be between 1 hour and 7 days, and can be specified in days, hours, minutes, or seconds. For example, the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h. If this property is used, you must avoid adding new DDL statements to 'ddl' that update the database's version_retention_period. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/spanner_database#version_retention_period SpannerDatabase#version_retention_period}
- Specified by:
getVersionRetentionPeriodin interfaceSpannerDatabaseConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-