@Override
    public Builder toBuilder() {
        return builder().min(min).max(max).sourceLocation(getSourceLocation());
    }
Gets the max value.

@return returns the optional max value.
smithy-model/src/main/java/software/amazon/smithy/model/traits/LengthTrait.java