Class CfnResourceGateway.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnResourceGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceGateway>
- Enclosing class:
CfnResourceGateway
@Stability(Stable)
public static final class CfnResourceGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceGateway>
A fluent builder for
CfnResourceGateway
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnResourceGateway.Builder
ipAddressType
(String ipAddressType) The type of IP address used by the resource gateway.The name of the resource gateway.securityGroupIds
(List<String> securityGroupIds) The IDs of the security groups applied to the resource gateway.The IDs of the VPC subnets for the resource gateway.The tags for the resource gateway.vpcIdentifier
(String vpcIdentifier) The ID of the VPC for the resource gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceGateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnResourceGateway.Builder
.
-
ipAddressType
The type of IP address used by the resource gateway.- Parameters:
ipAddressType
- The type of IP address used by the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the resource gateway.- Parameters:
name
- The name of the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
securityGroupIds
@Stability(Stable) public CfnResourceGateway.Builder securityGroupIds(List<String> securityGroupIds) The IDs of the security groups applied to the resource gateway.- Parameters:
securityGroupIds
- The IDs of the security groups applied to the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
subnetIds
The IDs of the VPC subnets for the resource gateway.- Parameters:
subnetIds
- The IDs of the VPC subnets for the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags for the resource gateway.- Parameters:
tags
- The tags for the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
vpcIdentifier
The ID of the VPC for the resource gateway.- Parameters:
vpcIdentifier
- The ID of the VPC for the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceGateway>
- Returns:
- a newly built instance of
CfnResourceGateway
.
-