@Override
    protected Node createNode() {
        return new ObjectNode(MapUtils.of(), getSourceLocation())
                .withOptionalMember("min", getMin().map(Node::from))
                .withOptionalMember("max", getMax().map(Node::from));
    }
Gets the max value.

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