public java.util.List<String> getTypes() {
        return types;
    }
<p>
A list of endpoint types for the REST API.
</p>
<p>
For an edge-optimized API, the endpoint type is <code>EDGE</code>. For a Regional API, the endpoint type is
<code>REGIONAL</code>. For a private API, the endpoint type is <code>PRIVATE</code>.
</p>

@return A list of endpoint types for the REST API.</p>
        <p>
        For an edge-optimized API, the endpoint type is <code>EDGE</code>. For a Regional API, the endpoint type
        is <code>REGIONAL</code>. For a private API, the endpoint type is <code>PRIVATE</code>.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsApiGatewayEndpointConfiguration.java