Class CfnDomainNamePropsMixin.EndpointConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnDomainNamePropsMixin.EndpointConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainNamePropsMixin.EndpointConfigurationProperty>
- Enclosing interface:
CfnDomainNamePropsMixin.EndpointConfigurationProperty
@Stability(Stable)
public static final class CfnDomainNamePropsMixin.EndpointConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainNamePropsMixin.EndpointConfigurationProperty>
A builder for
CfnDomainNamePropsMixin.EndpointConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipAddressType(String ipAddressType) Sets the value ofCfnDomainNamePropsMixin.EndpointConfigurationProperty.getIpAddressType()Sets the value ofCfnDomainNamePropsMixin.EndpointConfigurationProperty.getTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipAddressType
@Stability(Stable) public CfnDomainNamePropsMixin.EndpointConfigurationProperty.Builder ipAddressType(String ipAddressType) Sets the value ofCfnDomainNamePropsMixin.EndpointConfigurationProperty.getIpAddressType()- Parameters:
ipAddressType- The IP address types that can invoke this DomainName. Useipv4to allow only IPv4 addresses to invoke this DomainName, or usedualstackto allow both IPv4 and IPv6 addresses to invoke this DomainName. For thePRIVATEendpoint type, onlydualstackis supported.- Returns:
this
-
types
@Stability(Stable) public CfnDomainNamePropsMixin.EndpointConfigurationProperty.Builder types(List<String> types) Sets the value ofCfnDomainNamePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainNamePropsMixin.EndpointConfigurationProperty>- Returns:
- a new instance of
CfnDomainNamePropsMixin.EndpointConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-