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 protectedBuilder(PathLogInfo path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileLogInfobuild()Builds an instance ofFileLogInfoconfigured with this builder's valuesFileLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.FileLogInfo.BuilderwithFileId(java.lang.String fileId)Set value for optional field.FileLogInfo.BuilderwithFileSize(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:
withDisplayNamein classFileOrFolderLogInfo.Builder- Parameters:
displayName- Display name.- Returns:
- this builder
-
withFileId
public FileLogInfo.Builder withFileId(java.lang.String fileId)
Set value for optional field.- Overrides:
withFileIdin classFileOrFolderLogInfo.Builder- Parameters:
fileId- Unique ID.- Returns:
- this builder
-
withFileSize
public FileLogInfo.Builder withFileSize(java.lang.Long fileSize)
Set value for optional field.- Overrides:
withFileSizein classFileOrFolderLogInfo.Builder- Parameters:
fileSize- File or folder size in bytes.- Returns:
- this builder
-
build
public FileLogInfo build()
Builds an instance ofFileLogInfoconfigured with this builder's values- Overrides:
buildin classFileOrFolderLogInfo.Builder- Returns:
- new instance of
FileLogInfo
-
-