Class SqlUserConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.sql_user.SqlUserConfig.Jsii$Proxy
-
- All Implemented Interfaces:
SqlUserConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SqlUserConfig
@Stability(Stable) @Internal public static final class SqlUserConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SqlUserConfig
An implementation forSqlUserConfig
-
-
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.sql_user.SqlUserConfig
SqlUserConfig.Builder, SqlUserConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(SqlUserConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theSqlUserConfig.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()StringgetDeletionPolicy()The deletion policy for the user.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetHost()The host the user can connect from.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#id SqlUser#id}.StringgetInstance()The name of the Cloud SQL instance.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()The name of the user.StringgetPassword()The password for the user.SqlUserPasswordPolicygetPasswordPolicy()password_policy block.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()SqlUserTimeoutsgetTimeouts()timeouts block.StringgetType()The user type.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(SqlUserConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theSqlUserConfig.Builder.
-
-
Method Detail
-
getInstance
public final String getInstance()
Description copied from interface:SqlUserConfigThe name of the Cloud SQL instance. Changing this forces a new resource to be created.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#instance SqlUser#instance}
- Specified by:
getInstancein interfaceSqlUserConfig
-
getName
public final String getName()
Description copied from interface:SqlUserConfigThe name of the user. Changing this forces a new resource to be created.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#name SqlUser#name}
- Specified by:
getNamein interfaceSqlUserConfig
-
getDeletionPolicy
public final String getDeletionPolicy()
Description copied from interface:SqlUserConfigThe deletion policy for the user.Setting ABANDON allows the resource to be abandoned rather than deleted. This is useful for Postgres, where users cannot be deleted from the API if they have been granted SQL roles. Possible values are: "ABANDON". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#deletion_policy SqlUser#deletion_policy}
- Specified by:
getDeletionPolicyin interfaceSqlUserConfig
-
getHost
public final String getHost()
Description copied from interface:SqlUserConfigThe host the user can connect from.This is only supported for MySQL instances. Don't set this field for PostgreSQL instances. Can be an IP address. Changing this forces a new resource to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#host SqlUser#host}
- Specified by:
getHostin interfaceSqlUserConfig
-
getId
public final String getId()
Description copied from interface:SqlUserConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#id SqlUser#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 interfaceSqlUserConfig
-
getPassword
public final String getPassword()
Description copied from interface:SqlUserConfigThe password for the user.Can be updated. For Postgres instances this is a Required field, unless type is set to either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#password SqlUser#password}
- Specified by:
getPasswordin interfaceSqlUserConfig
-
getPasswordPolicy
public final SqlUserPasswordPolicy getPasswordPolicy()
Description copied from interface:SqlUserConfigpassword_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#password_policy SqlUser#password_policy}
- Specified by:
getPasswordPolicyin interfaceSqlUserConfig
-
getProject
public final String getProject()
Description copied from interface:SqlUserConfigThe ID of the project in which the resource belongs.If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#project SqlUser#project}
- Specified by:
getProjectin interfaceSqlUserConfig
-
getTimeouts
public final SqlUserTimeouts getTimeouts()
Description copied from interface:SqlUserConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#timeouts SqlUser#timeouts}
- Specified by:
getTimeoutsin interfaceSqlUserConfig
-
getType
public final String getType()
Description copied from interface:SqlUserConfigThe user type.It determines the method to authenticate the user during login. The default is the database's built-in user type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#type SqlUser#type}
- Specified by:
getTypein interfaceSqlUserConfig
-
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
-
-