Package com.dropbox.core.v2.teamlog
Class FileLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.Builder
-
- com.dropbox.core.v2.teamlog.FileLogInfo.Builder
-
- Enclosing class:
- FileLogInfo
public static class FileLogInfo.Builder extends FileOrFolderLogInfo.Builder
Builder forFileLogInfo
.
-
-
Field Summary
-
Fields inherited from class com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.Builder
displayName, fileId, fileSize, path
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(PathLogInfo path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileLogInfo
build()
Builds an instance ofFileLogInfo
configured with this builder's valuesFileLogInfo.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.
-
-
-
Constructor Detail
-
Builder
protected Builder(PathLogInfo path)
-
-
Method Detail
-
withDisplayName
public FileLogInfo.Builder withDisplayName(java.lang.String displayName)
Set value for optional field.- Overrides:
withDisplayName
in classFileOrFolderLogInfo.Builder
- Parameters:
displayName
- Display name. Might be missing due to historical data gap.- Returns:
- this builder
-
withFileId
public FileLogInfo.Builder withFileId(java.lang.String fileId)
Set value for optional field.- Overrides:
withFileId
in classFileOrFolderLogInfo.Builder
- Parameters:
fileId
- Unique ID. Might be missing due to historical data gap.- Returns:
- this builder
-
withFileSize
public FileLogInfo.Builder withFileSize(java.lang.Long fileSize)
Set value for optional field.- Overrides:
withFileSize
in classFileOrFolderLogInfo.Builder
- Parameters:
fileSize
- File or folder size in bytes.- Returns:
- this builder
-
build
public FileLogInfo build()
Builds an instance ofFileLogInfo
configured with this builder's values- Overrides:
build
in classFileOrFolderLogInfo.Builder
- Returns:
- new instance of
FileLogInfo
-
-