Class InterfaceVpcEndpointAwsService.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.InterfaceVpcEndpointAwsService.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InterfaceVpcEndpointAwsService>
- Enclosing class:
InterfaceVpcEndpointAwsService
@Stability(Stable)
public static final class InterfaceVpcEndpointAwsService.Builder
extends Object
implements software.amazon.jsii.Builder<InterfaceVpcEndpointAwsService>
A fluent builder for
InterfaceVpcEndpointAwsService.-
Method Summary
Modifier and TypeMethodDescriptionbuild()If true, the service is a global endpoint and its name will not be prefixed with the stack's region.
-
Method Details
-
create
@Stability(Stable) public static InterfaceVpcEndpointAwsService.Builder create(String name, String prefix, Number port) - Parameters:
name- The name of the service. This parameter is required.prefix-port- The port of the service.- Returns:
- a new instance of
InterfaceVpcEndpointAwsService.Builder.
-
create
@Stability(Stable) public static InterfaceVpcEndpointAwsService.Builder create(String name, String prefix) - Parameters:
name- The name of the service. This parameter is required.prefix-- Returns:
- a new instance of
InterfaceVpcEndpointAwsService.Builder.
-
create
- Parameters:
name- The name of the service. This parameter is required.- Returns:
- a new instance of
InterfaceVpcEndpointAwsService.Builder.
-
global
If true, the service is a global endpoint and its name will not be prefixed with the stack's region.Default: false
- Parameters:
global- If true, the service is a global endpoint and its name will not be prefixed with the stack's region. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InterfaceVpcEndpointAwsService>- Returns:
- a newly built instance of
InterfaceVpcEndpointAwsService.
-