Class CfnApi.EndpointConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnApi.EndpointConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.EndpointConfigurationProperty>
- Enclosing interface:
CfnApi.EndpointConfigurationProperty
@Stability(Stable)
public static final class CfnApi.EndpointConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.EndpointConfigurationProperty>
A builder for
CfnApi.EndpointConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApi.EndpointConfigurationProperty.getType()
vpcEndpointIds
(List<String> vpcEndpointIds) Sets the value ofCfnApi.EndpointConfigurationProperty.getVpcEndpointIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnApi.EndpointConfigurationProperty.getType()
- Parameters:
type
-CfnApi.EndpointConfigurationProperty.Type
.- Returns:
this
-
vpcEndpointIds
@Stability(Stable) public CfnApi.EndpointConfigurationProperty.Builder vpcEndpointIds(List<String> vpcEndpointIds) Sets the value ofCfnApi.EndpointConfigurationProperty.getVpcEndpointIds()
- Parameters:
vpcEndpointIds
-CfnApi.EndpointConfigurationProperty.VpcEndpointIds
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApi.EndpointConfigurationProperty>
- Returns:
- a new instance of
CfnApi.EndpointConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-