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