public static class ContentSummary.Builder extends QuotaUsage.Builder
Constructor and Description |
---|
ContentSummary.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 |
snapshotDirectoryCount(long snapshotDirectoryCount) |
ContentSummary.Builder |
snapshotFileCount(long snapshotFileCount) |
ContentSummary.Builder |
snapshotLength(long snapshotLength) |
ContentSummary.Builder |
snapshotSpaceConsumed(long snapshotSpaceConsumed) |
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) |
fileAndDirectoryCount
public ContentSummary.Builder()
public ContentSummary.Builder length(long length)
public ContentSummary.Builder fileCount(long fileCount)
public ContentSummary.Builder directoryCount(long directoryCount)
public ContentSummary.Builder snapshotLength(long snapshotLength)
public ContentSummary.Builder snapshotFileCount(long snapshotFileCount)
public ContentSummary.Builder snapshotDirectoryCount(long snapshotDirectoryCount)
public ContentSummary.Builder snapshotSpaceConsumed(long snapshotSpaceConsumed)
public ContentSummary.Builder quota(long quota)
quota
in class QuotaUsage.Builder
public ContentSummary.Builder spaceConsumed(long spaceConsumed)
spaceConsumed
in class QuotaUsage.Builder
public ContentSummary.Builder spaceQuota(long spaceQuota)
spaceQuota
in class QuotaUsage.Builder
public ContentSummary.Builder typeConsumed(long[] typeConsumed)
typeConsumed
in class QuotaUsage.Builder
public ContentSummary.Builder typeQuota(StorageType type, long quota)
typeQuota
in class QuotaUsage.Builder
public ContentSummary.Builder typeConsumed(StorageType type, long consumed)
typeConsumed
in class QuotaUsage.Builder
public ContentSummary.Builder typeQuota(long[] typeQuota)
typeQuota
in class QuotaUsage.Builder
public ContentSummary build()
build
in class QuotaUsage.Builder
Copyright © 2017 Apache Software Foundation. All Rights Reserved.