@Override
    public boolean equals(Object other) {
        if (!(other instanceof HttpTrait)) {
            return false;
        } else if (other == this) {
            return true;
        } else {
            HttpTrait trait = (HttpTrait) other;
            return method.equals(trait.method)
                    && uri.equals(trait.uri)
                    && code == trait.code;
        }
    }
@return Returns a builder used to create an Http trait.
smithy-model/src/main/java/software/amazon/smithy/model/traits/HttpTrait.java