Class SaslUserState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.alikafka.inputs.SaslUserState.Builder
-
- Enclosing class:
- SaslUserState
public static final class SaslUserState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SaslUserState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslUserState
build()
SaslUserState.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
SaslUserState.Builder
instanceId(java.lang.String instanceId)
SaslUserState.Builder
kmsEncryptedPassword(com.pulumi.core.Output<java.lang.String> kmsEncryptedPassword)
SaslUserState.Builder
kmsEncryptedPassword(java.lang.String kmsEncryptedPassword)
SaslUserState.Builder
kmsEncryptionContext(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> kmsEncryptionContext)
SaslUserState.Builder
kmsEncryptionContext(java.util.Map<java.lang.String,java.lang.Object> kmsEncryptionContext)
SaslUserState.Builder
password(com.pulumi.core.Output<java.lang.String> password)
SaslUserState.Builder
password(java.lang.String password)
SaslUserState.Builder
type(com.pulumi.core.Output<java.lang.String> type)
SaslUserState.Builder
type(java.lang.String type)
SaslUserState.Builder
username(com.pulumi.core.Output<java.lang.String> username)
SaslUserState.Builder
username(java.lang.String username)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SaslUserState defaults)
-
-
Method Detail
-
instanceId
public SaslUserState.Builder instanceId(@Nullable com.pulumi.core.Output<java.lang.String> instanceId)
- Parameters:
instanceId
- ID of the ALIKAFKA Instance that owns the groups.- Returns:
- builder
-
instanceId
public SaslUserState.Builder instanceId(java.lang.String instanceId)
- Parameters:
instanceId
- ID of the ALIKAFKA Instance that owns the groups.- Returns:
- builder
-
kmsEncryptedPassword
public SaslUserState.Builder kmsEncryptedPassword(@Nullable com.pulumi.core.Output<java.lang.String> kmsEncryptedPassword)
- Parameters:
kmsEncryptedPassword
- An KMS encrypts password used to a db account. You have to specify one of `password` and `kms_encrypted_password` fields.- Returns:
- builder
-
kmsEncryptedPassword
public SaslUserState.Builder kmsEncryptedPassword(java.lang.String kmsEncryptedPassword)
- Parameters:
kmsEncryptedPassword
- An KMS encrypts password used to a db account. You have to specify one of `password` and `kms_encrypted_password` fields.- Returns:
- builder
-
kmsEncryptionContext
public SaslUserState.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 user 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 SaslUserState.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 user 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
-
password
public SaslUserState.Builder password(@Nullable com.pulumi.core.Output<java.lang.String> password)
- Parameters:
password
- Operation password. It may consist of letters, digits, or underlines, with a length of 1 to 64 characters. You have to specify one of `password` and `kms_encrypted_password` fields.- Returns:
- builder
-
password
public SaslUserState.Builder password(java.lang.String password)
- Parameters:
password
- Operation password. It may consist of letters, digits, or underlines, with a length of 1 to 64 characters. You have to specify one of `password` and `kms_encrypted_password` fields.- Returns:
- builder
-
type
public SaslUserState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- The authentication mechanism. Valid values: `plain`, `scram`. Default value: `plain`.- Returns:
- builder
-
type
public SaslUserState.Builder type(java.lang.String type)
- Parameters:
type
- The authentication mechanism. Valid values: `plain`, `scram`. Default value: `plain`.- Returns:
- builder
-
username
public SaslUserState.Builder username(@Nullable com.pulumi.core.Output<java.lang.String> username)
- Parameters:
username
- Username for the sasl user. The length should between 1 to 64 characters. The characters can only contain 'a'-'z', 'A'-'Z', '0'-'9', '_' and '-'.- Returns:
- builder
-
username
public SaslUserState.Builder username(java.lang.String username)
- Parameters:
username
- Username for the sasl user. The length should between 1 to 64 characters. The characters can only contain 'a'-'z', 'A'-'Z', '0'-'9', '_' and '-'.- Returns:
- builder
-
build
public SaslUserState build()
-
-