public MemberShape getKey() {
        return key;
    }
Get the key member shape of the map.

@return Returns the key member shape.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/MapShape.java