Class InterfaceVpcEndpointAwsServiceProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.InterfaceVpcEndpointAwsServiceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InterfaceVpcEndpointAwsServiceProps>
- Enclosing interface:
InterfaceVpcEndpointAwsServiceProps
@Stability(Stable)
public static final class InterfaceVpcEndpointAwsServiceProps.Builder
extends Object
implements software.amazon.jsii.Builder<InterfaceVpcEndpointAwsServiceProps>
A builder for
InterfaceVpcEndpointAwsServiceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofInterfaceVpcEndpointAwsServiceProps.getGlobal()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
global
Sets the value ofInterfaceVpcEndpointAwsServiceProps.getGlobal()
- Parameters:
global
- If true, the service is a global endpoint and its name will not be prefixed with the stack's region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InterfaceVpcEndpointAwsServiceProps>
- Returns:
- a new instance of
InterfaceVpcEndpointAwsServiceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-