Class AccountArgs.Builder

  • Enclosing class:
    AccountArgs

    public static final class AccountArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accountDescription

        public AccountArgs.Builder accountDescription​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> accountDescription)
      • accountDescription

        public AccountArgs.Builder accountDescription​(java.lang.String accountDescription)
      • accountName

        public AccountArgs.Builder accountName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> accountName)
      • accountPassword

        public AccountArgs.Builder accountPassword​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> accountPassword)
      • accountPassword

        public AccountArgs.Builder accountPassword​(java.lang.String accountPassword)
      • accountType

        public AccountArgs.Builder accountType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> accountType)
      • dbInstanceId

        public AccountArgs.Builder dbInstanceId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> dbInstanceId)
      • description

        @Deprecated
        public AccountArgs.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Deprecated.
        Field 'description' has been deprecated from provider version 1.120.0. New field 'account_description' instead.
        Parameters:
        description - Database description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
        Returns:
        builder
      • description

        @Deprecated
        public AccountArgs.Builder description​(java.lang.String description)
        Deprecated.
        Field 'description' has been deprecated from provider version 1.120.0. New field 'account_description' instead.
        Parameters:
        description - Database description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
        Returns:
        builder
      • instanceId

        @Deprecated
        public AccountArgs.Builder instanceId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> instanceId)
        Deprecated.
        Field 'instance_id' has been deprecated from provider version 1.120.0. New field 'db_instance_id' instead.
        Parameters:
        instanceId - The Id of instance in which account belongs.
        Returns:
        builder
      • instanceId

        @Deprecated
        public AccountArgs.Builder instanceId​(java.lang.String instanceId)
        Deprecated.
        Field 'instance_id' has been deprecated from provider version 1.120.0. New field 'db_instance_id' instead.
        Parameters:
        instanceId - The Id of instance in which account belongs.
        Returns:
        builder
      • kmsEncryptedPassword

        public AccountArgs.Builder kmsEncryptedPassword​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> kmsEncryptedPassword)
        Parameters:
        kmsEncryptedPassword - An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
        Returns:
        builder
      • kmsEncryptedPassword

        public AccountArgs.Builder kmsEncryptedPassword​(java.lang.String kmsEncryptedPassword)
        Parameters:
        kmsEncryptedPassword - An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
        Returns:
        builder
      • kmsEncryptionContext

        public AccountArgs.Builder kmsEncryptionContext​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> kmsEncryptionContext)
        Parameters:
        kmsEncryptionContext - An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
        Returns:
        builder
      • kmsEncryptionContext

        public AccountArgs.Builder kmsEncryptionContext​(java.util.Map<java.lang.String,​java.lang.Object> kmsEncryptionContext)
        Parameters:
        kmsEncryptionContext - An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
        Returns:
        builder
      • name

        @Deprecated
        public AccountArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Deprecated.
        Field 'name' has been deprecated from provider version 1.120.0. New field 'account_name' instead.
        Parameters:
        name - Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
        Returns:
        builder
      • name

        @Deprecated
        public AccountArgs.Builder name​(java.lang.String name)
        Deprecated.
        Field 'name' has been deprecated from provider version 1.120.0. New field 'account_name' instead.
        Parameters:
        name - Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
        Returns:
        builder
      • password

        @Deprecated
        public AccountArgs.Builder password​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> password)
        Deprecated.
        Field 'password' has been deprecated from provider version 1.120.0. New field 'account_password' instead.
        Parameters:
        password - Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of `password` and `kms_encrypted_password` fields.
        Returns:
        builder
      • password

        @Deprecated
        public AccountArgs.Builder password​(java.lang.String password)
        Deprecated.
        Field 'password' has been deprecated from provider version 1.120.0. New field 'account_password' instead.
        Parameters:
        password - Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of `password` and `kms_encrypted_password` fields.
        Returns:
        builder
      • resetPermissionFlag

        public AccountArgs.Builder resetPermissionFlag​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> resetPermissionFlag)
      • resetPermissionFlag

        public AccountArgs.Builder resetPermissionFlag​(java.lang.Boolean resetPermissionFlag)
      • type

        @Deprecated
        public AccountArgs.Builder type​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> type)
        Deprecated.
        Field 'type' has been deprecated from provider version 1.120.0. New field 'account_type' instead.
        Parameters:
        type - Privilege type of account. The SQLServer engine does not support create high privilege accounts. - Normal: Common privilege. - Super: High privilege. Default to Normal.
        Returns:
        builder
      • type

        @Deprecated
        public AccountArgs.Builder type​(java.lang.String type)
        Deprecated.
        Field 'type' has been deprecated from provider version 1.120.0. New field 'account_type' instead.
        Parameters:
        type - Privilege type of account. The SQLServer engine does not support create high privilege accounts. - Normal: Common privilege. - Super: High privilege. Default to Normal.
        Returns:
        builder