Class CfnACL.Builder

java.lang.Object
software.amazon.awscdk.services.memorydb.CfnACL.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnACL>
Enclosing class:
CfnACL

@Stability(Stable) public static final class CfnACL.Builder extends Object implements software.amazon.jsii.Builder<CfnACL>
A fluent builder for CfnACL.
  • Method Details

    • create

      @Stability(Stable) public static CfnACL.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnACL.Builder.
    • aclName

      @Stability(Stable) public CfnACL.Builder aclName(String aclName)
      The name of the Access Control List.

      Parameters:
      aclName - The name of the Access Control List. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnACL.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • userNames

      @Stability(Stable) public CfnACL.Builder userNames(List<String> userNames)
      The list of users that belong to the Access Control List.

      Parameters:
      userNames - The list of users that belong to the Access Control List. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnACL build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnACL>
      Returns:
      a newly built instance of CfnACL.