Class NetworkAclReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.NetworkAclReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkAclReference>
- Enclosing interface:
NetworkAclReference
@Stability(Stable)
public static final class NetworkAclReference.Builder
extends Object
implements software.amazon.jsii.Builder<NetworkAclReference>
A builder for
NetworkAclReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkAclId(String networkAclId) Sets the value ofNetworkAclReference.getNetworkAclId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkAclId
Sets the value ofNetworkAclReference.getNetworkAclId()- Parameters:
networkAclId- The Id of the NetworkAcl resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkAclReference>- Returns:
- a new instance of
NetworkAclReference - Throws:
NullPointerException- if any required attribute was not provided
-