public static class ContentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContentSummary |
build() |
ContentSummary.Builder |
directoryCount(long directoryCount) |
ContentSummary.Builder |
fileCount(long fileCount) |
ContentSummary.Builder |
length(long length) |
ContentSummary.Builder |
quota(long quota) |
ContentSummary.Builder |
spaceConsumed(long spaceConsumed) |
ContentSummary.Builder |
spaceQuota(long spaceQuota) |
ContentSummary.Builder |
typeConsumed(long[] typeConsumed) |
ContentSummary.Builder |
typeConsumed(StorageType type,
long consumed) |
ContentSummary.Builder |
typeQuota(long[] typeQuota) |
ContentSummary.Builder |
typeQuota(StorageType type,
long quota) |
public Builder()
public ContentSummary.Builder length(long length)
public ContentSummary.Builder fileCount(long fileCount)
public ContentSummary.Builder directoryCount(long directoryCount)
public ContentSummary.Builder quota(long quota)
public ContentSummary.Builder spaceConsumed(long spaceConsumed)
public ContentSummary.Builder spaceQuota(long spaceQuota)
public ContentSummary.Builder typeConsumed(long[] typeConsumed)
public ContentSummary.Builder typeQuota(StorageType type, long quota)
public ContentSummary.Builder typeConsumed(StorageType type, long consumed)
public ContentSummary.Builder typeQuota(long[] typeQuota)
public ContentSummary build()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.