@Override
        public StandardPartitionalEndpointsTrait build() {
            return new StandardPartitionalEndpointsTrait(this);
        }
Sets the endpoint pattern type.

@param endpointPatternType the endpoint pattern type to use
@return Returns the builder.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/StandardPartitionalEndpointsTrait.java