public static final class CfnUserProps.Builder
extends java.lang.Object
CfnUserProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserProps.Builder |
accessString(java.lang.String accessString)
Sets the value of
CfnUserProps.getAccessString() |
CfnUserProps.Builder |
authenticationMode(java.lang.Object authenticationMode)
Sets the value of
CfnUserProps.getAuthenticationMode() |
CfnUserProps |
build()
Builds the configured instance.
|
CfnUserProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnUserProps.getTags() |
CfnUserProps.Builder |
userName(java.lang.String userName)
Sets the value of
CfnUserProps.getUserName() |
public CfnUserProps.Builder accessString(java.lang.String accessString)
CfnUserProps.getAccessString()
accessString
- Access permissions string used for this user. This parameter is required.this
public CfnUserProps.Builder authenticationMode(java.lang.Object authenticationMode)
CfnUserProps.getAuthenticationMode()
authenticationMode
- Denotes whether the user requires a password to authenticate. This parameter is required.
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
this
public CfnUserProps.Builder userName(java.lang.String userName)
CfnUserProps.getUserName()
userName
- The name of the user. This parameter is required.this
public CfnUserProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnUserProps.getTags()
tags
- An array of key-value pairs to apply to this resource.
For more information, see Tag .this
public CfnUserProps build()
CfnUserProps
java.lang.NullPointerException
- if any required attribute was not provided