Class CfnSubnetNetworkAclAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSubnetNetworkAclAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetNetworkAclAssociationMixinProps>
- Enclosing interface:
CfnSubnetNetworkAclAssociationMixinProps
@Stability(Stable)
public static final class CfnSubnetNetworkAclAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetNetworkAclAssociationMixinProps>
A builder for
CfnSubnetNetworkAclAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkAclId(String networkAclId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getNetworkAclId()networkAclId(INetworkAclRef networkAclId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getNetworkAclId()Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getSubnetId()subnetId(ISubnetRef subnetId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkAclId
@Stability(Stable) public CfnSubnetNetworkAclAssociationMixinProps.Builder networkAclId(String networkAclId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getNetworkAclId()- Parameters:
networkAclId- The ID of the network ACL.- Returns:
this
-
networkAclId
@Stability(Stable) public CfnSubnetNetworkAclAssociationMixinProps.Builder networkAclId(INetworkAclRef networkAclId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getNetworkAclId()- Parameters:
networkAclId- The ID of the network ACL.- Returns:
this
-
subnetId
@Stability(Stable) public CfnSubnetNetworkAclAssociationMixinProps.Builder subnetId(String subnetId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet.- Returns:
this
-
subnetId
@Stability(Stable) public CfnSubnetNetworkAclAssociationMixinProps.Builder subnetId(ISubnetRef subnetId) Sets the value ofCfnSubnetNetworkAclAssociationMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetNetworkAclAssociationMixinProps>- Returns:
- a new instance of
CfnSubnetNetworkAclAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-