Class CfnVpcEndpointAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnVpcEndpointAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpointAssociationMixinProps>
- Enclosing interface:
CfnVpcEndpointAssociationMixinProps
@Stability(Stable)
public static final class CfnVpcEndpointAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpointAssociationMixinProps>
A builder for
CfnVpcEndpointAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnVpcEndpointAssociationMixinProps.getDescription()firewallArn(String firewallArn) Sets the value ofCfnVpcEndpointAssociationMixinProps.getFirewallArn()Sets the value ofCfnVpcEndpointAssociationMixinProps.getSubnetMapping()subnetMapping(IResolvable subnetMapping) Sets the value ofCfnVpcEndpointAssociationMixinProps.getSubnetMapping()Sets the value ofCfnVpcEndpointAssociationMixinProps.getTags()Sets the value ofCfnVpcEndpointAssociationMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnVpcEndpointAssociationMixinProps.Builder description(String description) Sets the value ofCfnVpcEndpointAssociationMixinProps.getDescription()- Parameters:
description- A description of the VPC endpoint association.- Returns:
this
-
firewallArn
@Stability(Stable) public CfnVpcEndpointAssociationMixinProps.Builder firewallArn(String firewallArn) Sets the value ofCfnVpcEndpointAssociationMixinProps.getFirewallArn()- Parameters:
firewallArn- The Amazon Resource Name (ARN) of the firewall.- Returns:
this
-
subnetMapping
@Stability(Stable) public CfnVpcEndpointAssociationMixinProps.Builder subnetMapping(IResolvable subnetMapping) Sets the value ofCfnVpcEndpointAssociationMixinProps.getSubnetMapping()- Parameters:
subnetMapping- The ID for a subnet that's used in an association with a firewall. This is used inCreateFirewall,AssociateSubnets, andCreateVpcEndpointAssociation. AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.- Returns:
this
-
subnetMapping
@Stability(Stable) public CfnVpcEndpointAssociationMixinProps.Builder subnetMapping(CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty subnetMapping) Sets the value ofCfnVpcEndpointAssociationMixinProps.getSubnetMapping()- Parameters:
subnetMapping- The ID for a subnet that's used in an association with a firewall. This is used inCreateFirewall,AssociateSubnets, andCreateVpcEndpointAssociation. AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.- Returns:
this
-
tags
@Stability(Stable) public CfnVpcEndpointAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnVpcEndpointAssociationMixinProps.getTags()- Parameters:
tags- The key:value pairs to associate with the resource.- Returns:
this
-
vpcId
Sets the value ofCfnVpcEndpointAssociationMixinProps.getVpcId()- Parameters:
vpcId- The unique identifier of the VPC for the endpoint association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcEndpointAssociationMixinProps>- Returns:
- a new instance of
CfnVpcEndpointAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-