@Stability(value=Experimental) public static final class GatewayVpcEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<GatewayVpcEndpointProps>
GatewayVpcEndpointProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GatewayVpcEndpointProps |
build()
Builds the configured instance.
|
GatewayVpcEndpointProps.Builder |
service(IGatewayVpcEndpointService service)
Sets the value of
GatewayVpcEndpointOptions.getService() |
GatewayVpcEndpointProps.Builder |
subnets(List<? extends SubnetSelection> subnets)
Sets the value of
GatewayVpcEndpointOptions.getSubnets() |
GatewayVpcEndpointProps.Builder |
vpc(IVpc vpc)
Sets the value of
GatewayVpcEndpointProps.getVpc() |
@Stability(value=Experimental) public GatewayVpcEndpointProps.Builder vpc(IVpc vpc)
GatewayVpcEndpointProps.getVpc()vpc - The VPC network in which the gateway endpoint will be used. This parameter is required.this@Stability(value=Experimental) public GatewayVpcEndpointProps.Builder service(IGatewayVpcEndpointService service)
GatewayVpcEndpointOptions.getService()service - The service to use for this gateway VPC endpoint. This parameter is required.this@Stability(value=Experimental) public GatewayVpcEndpointProps.Builder subnets(List<? extends SubnetSelection> subnets)
GatewayVpcEndpointOptions.getSubnets()subnets - Where to add endpoint routing.
By default, this endpoint will be routable from all subnets in the VPC.
Specify a list of subnet selection objects here to be more specific.this@Stability(value=Experimental) public GatewayVpcEndpointProps build()
build in interface software.amazon.jsii.Builder<GatewayVpcEndpointProps>GatewayVpcEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.