public void setTypes(java.util.Collection<String> types) {
        if (types == null) {
            this.types = null;
            return;
        }

        this.types = new java.util.ArrayList<String>(types);
    }
<p>
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 <code>"EDGE"</code>. For a regional API and its custom domain
name, the endpoint type is <code>REGIONAL</code>. For a private API, the endpoint type is <code>PRIVATE</code>.
</p>

@param 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 <code>"EDGE"</code>. For a regional API and its
       custom domain name, the endpoint type is <code>REGIONAL</code>. For a private API, the endpoint type is
       <code>PRIVATE</code>.
@see EndpointType
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/EndpointConfiguration.java