Class CfnDomainName.EndpointConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDomainName.EndpointConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainName.EndpointConfigurationProperty>
- Enclosing interface:
CfnDomainName.EndpointConfigurationProperty
@Stability(Stable)
public static final class CfnDomainName.EndpointConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainName.EndpointConfigurationProperty>
A builder for
CfnDomainName.EndpointConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDomainName.EndpointConfigurationProperty.getTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
types
@Stability(Stable) public CfnDomainName.EndpointConfigurationProperty.Builder types(List<String> types) Sets the value ofCfnDomainName.EndpointConfigurationProperty.getTypes()
- Parameters:
types
- A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is"EDGE"
. For a regional API and its custom domain name, the endpoint type isREGIONAL
. For a private API, the endpoint type isPRIVATE
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainName.EndpointConfigurationProperty>
- Returns:
- a new instance of
CfnDomainName.EndpointConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-