public static class FolderLogInfo.Builder extends FileOrFolderLogInfo.Builder
FolderLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
fileCount |
displayName, fileId, fileSize, path
Modifier | Constructor and Description |
---|---|
protected |
Builder(PathLogInfo path) |
Modifier and Type | Method and Description |
---|---|
FolderLogInfo |
build()
Builds an instance of
FolderLogInfo configured with this
builder's values |
FolderLogInfo.Builder |
withDisplayName(java.lang.String displayName)
Set value for optional field.
|
FolderLogInfo.Builder |
withFileCount(java.lang.Long fileCount)
Set value for optional field.
|
FolderLogInfo.Builder |
withFileId(java.lang.String fileId)
Set value for optional field.
|
FolderLogInfo.Builder |
withFileSize(java.lang.Long fileSize)
Set value for optional field.
|
protected Builder(PathLogInfo path)
public FolderLogInfo.Builder withFileCount(java.lang.Long fileCount)
fileCount
- Number of files within the folder.public FolderLogInfo.Builder withDisplayName(java.lang.String displayName)
withDisplayName
in class FileOrFolderLogInfo.Builder
displayName
- Display name. Might be missing due to historical
data gap.public FolderLogInfo.Builder withFileId(java.lang.String fileId)
withFileId
in class FileOrFolderLogInfo.Builder
fileId
- Unique ID. Might be missing due to historical data
gap.public FolderLogInfo.Builder withFileSize(java.lang.Long fileSize)
withFileSize
in class FileOrFolderLogInfo.Builder
fileSize
- File or folder size in bytes.public FolderLogInfo build()
FolderLogInfo
configured with this
builder's valuesbuild
in class FileOrFolderLogInfo.Builder
FolderLogInfo