@Override
    protected Node createNode() {
        ObjectNode.Builder builder = ObjectNode.objectNodeBuilder()
                .sourceLocation(getSourceLocation())
                .withOptionalMember(REQUEST_ALGORITHM_MEMBER, getRequestAlgorithmMember().map(Node::from))
                .withOptionalMember(REQUEST_VALIDATION_MODE_MEMBER, getRequestValidationModeMember().map(Node::from));

        if (isRequestChecksumRequired()) {
            builder.withMember(REQUEST_CHECKSUM_REQUIRED, Node.from(true));
        }

        if (!getResponseAlgorithms().isEmpty()) {
            builder.withMember(RESPONSE_ALGORITHMS, Node.fromStrings(getResponseAlgorithms()));
        }

        return builder.build();
    }
Gets the normalized location name for a checksum algorithm.

@param checksumAlgorithm The algorithm to get a location name of.
@return The normalized location name.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/HttpChecksumTrait.java