Class CfnResourceGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnResourceGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceGatewayMixinProps>
- Enclosing interface:
CfnResourceGatewayMixinProps
@Stability(Stable)
public static final class CfnResourceGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceGatewayMixinProps>
A builder for
CfnResourceGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipAddressType(String ipAddressType) Sets the value ofCfnResourceGatewayMixinProps.getIpAddressType()ipv4AddressesPerEni(Number ipv4AddressesPerEni) Sets the value ofCfnResourceGatewayMixinProps.getIpv4AddressesPerEni()Sets the value ofCfnResourceGatewayMixinProps.getName()securityGroupIds(List<? extends Object> securityGroupIds) Sets the value ofCfnResourceGatewayMixinProps.getSecurityGroupIds()Sets the value ofCfnResourceGatewayMixinProps.getSubnetIds()Sets the value ofCfnResourceGatewayMixinProps.getTags()vpcIdentifier(String vpcIdentifier) Sets the value ofCfnResourceGatewayMixinProps.getVpcIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipAddressType
Sets the value ofCfnResourceGatewayMixinProps.getIpAddressType()- Parameters:
ipAddressType- The type of IP address used by the resource gateway.- Returns:
this
-
ipv4AddressesPerEni
@Stability(Stable) public CfnResourceGatewayMixinProps.Builder ipv4AddressesPerEni(Number ipv4AddressesPerEni) Sets the value ofCfnResourceGatewayMixinProps.getIpv4AddressesPerEni()- Parameters:
ipv4AddressesPerEni- The number of IPv4 addresses in each ENI for the resource gateway.- Returns:
this
-
name
Sets the value ofCfnResourceGatewayMixinProps.getName()- Parameters:
name- The name of the resource gateway.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnResourceGatewayMixinProps.Builder securityGroupIds(List<? extends Object> securityGroupIds) Sets the value ofCfnResourceGatewayMixinProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The IDs of the security groups applied to the resource gateway.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnResourceGatewayMixinProps.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnResourceGatewayMixinProps.getSubnetIds()- Parameters:
subnetIds- The IDs of the VPC subnets for the resource gateway.- Returns:
this
-
tags
Sets the value ofCfnResourceGatewayMixinProps.getTags()- Parameters:
tags- The tags for the resource gateway.- Returns:
this
-
vpcIdentifier
Sets the value ofCfnResourceGatewayMixinProps.getVpcIdentifier()- Parameters:
vpcIdentifier- The ID of the VPC for the resource gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceGatewayMixinProps>- Returns:
- a new instance of
CfnResourceGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-