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