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