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
Constructors -
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- the value to be set.- Returns:
this
-
vpcEndpointIds
@Stability(Stable) public CfnApi.EndpointConfigurationProperty.Builder vpcEndpointIds(List<String> vpcEndpointIds) Sets the value ofCfnApi.EndpointConfigurationProperty.getVpcEndpointIds()- Parameters:
vpcEndpointIds- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApi.EndpointConfigurationProperty>- Returns:
- a new instance of
CfnApi.EndpointConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-