Class SqlDatabaseConfig.Jsii$Proxy

  • All Implemented Interfaces:
    SqlDatabaseConfig, com.hashicorp.cdktf.TerraformMetaArguments, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    SqlDatabaseConfig

    @Stability(Stable)
    @Internal
    public static final class SqlDatabaseConfig.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements SqlDatabaseConfig
    An implementation for SqlDatabaseConfig
    • 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.
    • Method Detail

      • getInstance

        public final String getInstance()
        Description copied from interface: SqlDatabaseConfig
        The name of the Cloud SQL instance. This does not include the project ID.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#instance SqlDatabase#instance}

        Specified by:
        getInstance in interface SqlDatabaseConfig
      • getName

        public final String getName()
        Description copied from interface: SqlDatabaseConfig
        The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#name SqlDatabase#name}

        Specified by:
        getName in interface SqlDatabaseConfig
      • getCharset

        public final String getCharset()
        Description copied from interface: SqlDatabaseConfig
        The charset value.

        See MySQL's [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) for more details and supported values. Postgres databases only support a value of 'UTF8' at creation time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#charset SqlDatabase#charset}

        Specified by:
        getCharset in interface SqlDatabaseConfig
      • getCollation

        public final String getCollation()
        Description copied from interface: SqlDatabaseConfig
        The collation value.

        See MySQL's [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) for more details and supported values. Postgres databases only support a value of 'en_US.UTF8' at creation time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#collation SqlDatabase#collation}

        Specified by:
        getCollation in interface SqlDatabaseConfig
      • getDeletionPolicy

        public final String getDeletionPolicy()
        Description copied from interface: SqlDatabaseConfig
        The deletion policy for the database.

        Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be deleted from the API if there are users other than cloudsqlsuperuser with access. Possible values are: "ABANDON", "DELETE". Defaults to "DELETE". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#deletion_policy SqlDatabase#deletion_policy}

        Specified by:
        getDeletionPolicy in interface SqlDatabaseConfig
      • getId

        public final String getId()
        Description copied from interface: SqlDatabaseConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#id SqlDatabase#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:
        getId in interface SqlDatabaseConfig
      • getProject

        public final String getProject()
        Description copied from interface: SqlDatabaseConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#project SqlDatabase#project}.
        Specified by:
        getProject in interface SqlDatabaseConfig
      • getTimeouts

        public final SqlDatabaseTimeouts getTimeouts()
        Description copied from interface: SqlDatabaseConfig
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database#timeouts SqlDatabase#timeouts}

        Specified by:
        getTimeouts in interface SqlDatabaseConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object