@Override
    public Builder toBuilder() {
        return new Builder(getSourceLocation())
                .version(version)
                .partitions(partitions);
    }
Gets the list of loaded partitions.

@return returns the list of partitions.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/language/functions/partition/Partitions.java