Class SqlDatabaseInstanceSettings.Jsii$Proxy

    • 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

      • getTier

        public final String getTier()
        Description copied from interface: SqlDatabaseInstanceSettings
        The machine type to use.

        See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#tier SqlDatabaseInstance#tier}

        Specified by:
        getTier in interface SqlDatabaseInstanceSettings
      • getActivationPolicy

        public final String getActivationPolicy()
        Description copied from interface: SqlDatabaseInstanceSettings
        This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#activation_policy SqlDatabaseInstance#activation_policy}

        Specified by:
        getActivationPolicy in interface SqlDatabaseInstanceSettings
      • getAvailabilityType

        public final String getAvailabilityType()
        Description copied from interface: SqlDatabaseInstanceSettings
        The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL).

        For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#availability_type SqlDatabaseInstance#availability_type}

        Specified by:
        getAvailabilityType in interface SqlDatabaseInstanceSettings
      • getCollation

        public final String getCollation()
        Description copied from interface: SqlDatabaseInstanceSettings
        The name of server instance collation.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#collation SqlDatabaseInstance#collation}

        Specified by:
        getCollation in interface SqlDatabaseInstanceSettings
      • getConnectorEnforcement

        public final String getConnectorEnforcement()
        Description copied from interface: SqlDatabaseInstanceSettings
        Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections.

        If enabled, all the direct connections are rejected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#connector_enforcement SqlDatabaseInstance#connector_enforcement}

        Specified by:
        getConnectorEnforcement in interface SqlDatabaseInstanceSettings
      • getDatabaseFlags

        public final Object getDatabaseFlags()
        Description copied from interface: SqlDatabaseInstanceSettings
        database_flags block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#database_flags SqlDatabaseInstance#database_flags}

        Specified by:
        getDatabaseFlags in interface SqlDatabaseInstanceSettings
      • getDeletionProtectionEnabled

        public final Object getDeletionProtectionEnabled()
        Description copied from interface: SqlDatabaseInstanceSettings
        Configuration to protect against accidental instance deletion.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#deletion_protection_enabled SqlDatabaseInstance#deletion_protection_enabled}

        Specified by:
        getDeletionProtectionEnabled in interface SqlDatabaseInstanceSettings
      • getDiskAutoresize

        public final Object getDiskAutoresize()
        Description copied from interface: SqlDatabaseInstanceSettings
        Enables auto-resizing of the storage size. Defaults to true.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#disk_autoresize SqlDatabaseInstance#disk_autoresize}

        Specified by:
        getDiskAutoresize in interface SqlDatabaseInstanceSettings
      • getDiskAutoresizeLimit

        public final Number getDiskAutoresizeLimit()
        Description copied from interface: SqlDatabaseInstanceSettings
        The maximum size, in GB, to which storage capacity can be automatically increased.

        The default value is 0, which specifies that there is no limit. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#disk_autoresize_limit SqlDatabaseInstance#disk_autoresize_limit}

        Specified by:
        getDiskAutoresizeLimit in interface SqlDatabaseInstanceSettings
      • getDiskSize

        public final Number getDiskSize()
        Description copied from interface: SqlDatabaseInstanceSettings
        The size of data disk, in GB.

        Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#disk_size SqlDatabaseInstance#disk_size}

        Specified by:
        getDiskSize in interface SqlDatabaseInstanceSettings
      • getDiskType

        public final String getDiskType()
        Description copied from interface: SqlDatabaseInstanceSettings
        The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#disk_type SqlDatabaseInstance#disk_type}

        Specified by:
        getDiskType in interface SqlDatabaseInstanceSettings
      • getEdition

        public final String getEdition()
        Description copied from interface: SqlDatabaseInstanceSettings
        The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#edition SqlDatabaseInstance#edition}

        Specified by:
        getEdition in interface SqlDatabaseInstanceSettings
      • getEnableDataplexIntegration

        public final Object getEnableDataplexIntegration()
        Description copied from interface: SqlDatabaseInstanceSettings
        Enables Dataplex Integration.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#enable_dataplex_integration SqlDatabaseInstance#enable_dataplex_integration}

        Specified by:
        getEnableDataplexIntegration in interface SqlDatabaseInstanceSettings
      • getEnableGoogleMlIntegration

        public final Object getEnableGoogleMlIntegration()
        Description copied from interface: SqlDatabaseInstanceSettings
        Enables Vertex AI Integration.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#enable_google_ml_integration SqlDatabaseInstance#enable_google_ml_integration}

        Specified by:
        getEnableGoogleMlIntegration in interface SqlDatabaseInstanceSettings
      • getPricingPlan

        public final String getPricingPlan()
        Description copied from interface: SqlDatabaseInstanceSettings
        Pricing plan for this instance, can only be PER_USE.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#pricing_plan SqlDatabaseInstance#pricing_plan}

        Specified by:
        getPricingPlan in interface SqlDatabaseInstanceSettings
      • getTimeZone

        public final String getTimeZone()
        Description copied from interface: SqlDatabaseInstanceSettings
        The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#time_zone SqlDatabaseInstance#time_zone}

        Specified by:
        getTimeZone in interface SqlDatabaseInstanceSettings
      • getUserLabels

        public final Map<String,​String> getUserLabels()
        Description copied from interface: SqlDatabaseInstanceSettings
        A set of key/value user label pairs to assign to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#user_labels SqlDatabaseInstance#user_labels}

        Specified by:
        getUserLabels in interface SqlDatabaseInstanceSettings
      • $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