Class CfnACLProps.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.CfnACLProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnACLProps>
- Enclosing interface:
CfnACLProps
@Stability(Stable)
public static final class CfnACLProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnACLProps>
A builder for
CfnACLProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnACLProps.getAclName()build()Builds the configured instance.Sets the value ofCfnACLProps.getTags()Sets the value ofCfnACLProps.getUserNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aclName
Sets the value ofCfnACLProps.getAclName()- Parameters:
aclName- The name of the Access Control List. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnACLProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
userNames
Sets the value ofCfnACLProps.getUserNames()- Parameters:
userNames- The list of users that belong to the Access Control List.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnACLProps>- Returns:
- a new instance of
CfnACLProps - Throws:
NullPointerException- if any required attribute was not provided
-