codegen-lite/src/main/java/software/amazon/awssdk/codegen/lite/regions/ServiceMetadataGenerator.java [329:343]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private CodeBlock partitionEndpointKey(Collection<String> tags) {
        CodeBlock.Builder result = CodeBlock.builder();
        result.add("$T.builder()", partitionEndpointKeyClass());

        if (!tags.isEmpty()) {
            CodeBlock tagsParameter = tags.stream()
                                          .map(tag -> CodeBlock.of("$T.of($S)", endpointTagClass(), tag))
                                          .collect(CodeBlock.joining(", "));

            result.add(".tags(").add(tagsParameter).add(")");
        }

        result.add(".build()");
        return result.build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



codegen-lite/src/main/java/software/amazon/awssdk/codegen/lite/regions/PartitionMetadataGenerator.java [182:196]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private CodeBlock partitionEndpointKey(Collection<String> tags) {
        CodeBlock.Builder result = CodeBlock.builder();
        result.add("$T.builder()", partitionEndpointKeyClass());

        if (!tags.isEmpty()) {
            CodeBlock tagsParameter = tags.stream()
                                          .map(tag -> CodeBlock.of("$T.of($S)", endpointTagClass(), tag))
                                          .collect(CodeBlock.joining(", "));

            result.add(".tags(").add(tagsParameter).add(")");
        }

        result.add(".build()");
        return result.build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



