Class CfnACLMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.memorydb.mixins.CfnACLMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnACLMixinProps>
- Enclosing interface:
CfnACLMixinProps
@Stability(Stable)
public static final class CfnACLMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnACLMixinProps>
A builder for
CfnACLMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnACLMixinProps.getAclName()build()Builds the configured instance.Sets the value ofCfnACLMixinProps.getTags()Sets the value ofCfnACLMixinProps.getUserNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aclName
Sets the value ofCfnACLMixinProps.getAclName()- Parameters:
aclName- The name of the Access Control List.- Returns:
this
-
tags
Sets the value ofCfnACLMixinProps.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 ofCfnACLMixinProps.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<CfnACLMixinProps>- Returns:
- a new instance of
CfnACLMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-