public Builder partitions(List<Partition> partitions) {
            this.partitions.clear();
            this.partitions.get().addAll(partitions);
            return this;
        }
A builder used to create a {@link Partitions} class.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/language/functions/partition/Partitions.java