public static PartitionSpecialCase fromNode(Node node) {
        ObjectNode objectNode = node.expectObjectNode();
        return builder()
                .sourceLocation(objectNode.getSourceLocation())
                .endpoint(objectNode.expectStringMember(ENDPOINT).getValue())
                .dualStack(objectNode.getBooleanMemberOrDefault(DUAL_STACK, null))
                .fips(objectNode.getBooleanMemberOrDefault(FIPS, null))
                .build();
    }
Creates a {@link PartitionSpecialCase} instance from the given Node information.

@param node the node to deserialize.
@return Returns a PartitionSpecialCase
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/PartitionSpecialCase.java