@Stability(value=Stable) 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=Stable) 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=Stable) 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=Stable) 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=Stable) public GatewayVpcEndpointProps build()
build
in interface software.amazon.jsii.Builder<GatewayVpcEndpointProps>
GatewayVpcEndpointProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.