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