@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        StandardPartitionalEndpointsTrait that = (StandardPartitionalEndpointsTrait) o;
        return partitionEndpointSpecialCases.equals(that.partitionEndpointSpecialCases)
                && endpointPatternType.equals(that.endpointPatternType);
    }
Gets the endpoint pattern type defined in the trait.

@return Returns a {@link EndpointPatternType}
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/StandardPartitionalEndpointsTrait.java