@Stability(value=Experimental) public static final class GatewayVpcEndpointOptions.Builder extends Object implements software.amazon.jsii.Builder<GatewayVpcEndpointOptions>
GatewayVpcEndpointOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GatewayVpcEndpointOptions |
build()
Builds the configured instance.
|
GatewayVpcEndpointOptions.Builder |
service(IGatewayVpcEndpointService service)
Sets the value of
GatewayVpcEndpointOptions.getService() |
GatewayVpcEndpointOptions.Builder |
subnets(List<? extends SubnetSelection> subnets)
Sets the value of
GatewayVpcEndpointOptions.getSubnets() |
@Stability(value=Experimental) public GatewayVpcEndpointOptions.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 GatewayVpcEndpointOptions.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 GatewayVpcEndpointOptions build()
build in interface software.amazon.jsii.Builder<GatewayVpcEndpointOptions>GatewayVpcEndpointOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.