@Override
    public Node toNode() {
        ObjectNode.Builder regionNodeBuilder = ObjectNode.builder();
        for (Map.Entry<String, RegionOverride> entry : regions.entrySet()) {
            regionNodeBuilder.withMember(entry.getKey(), entry.getValue().toNode());
        }

        return Node.objectNodeBuilder()
                .withMember(ID, Node.from(id))
                .withMember(REGION_REGEX, Node.from(regionRegex))
                .withMember(REGIONS, regionNodeBuilder.build())
                .withMember(OUTPUTS, outputs.toNode())
                .build();
    }
Gets the supported configuration output for this partition.

@return returns the partition's configuration outputs.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/language/functions/partition/Partition.java