Package com.dropbox.core.v2.teamlog
Class FileOrFolderLogInfo.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.Builder
- Direct Known Subclasses:
FileLogInfo.Builder,FolderLogInfo.Builder
- Enclosing class:
FileOrFolderLogInfo
Builder for
FileOrFolderLogInfo.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Longprotected final PathLogInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofFileOrFolderLogInfoconfigured with this builder's valueswithDisplayName(String displayName) Set value for optional field.withFileId(String fileId) Set value for optional field.withFileSize(Long fileSize) Set value for optional field.
-
Field Details
-
path
-
displayName
-
fileId
-
fileSize
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withDisplayName
Set value for optional field.- Parameters:
displayName- Display name.- Returns:
- this builder
-
withFileId
Set value for optional field.- Parameters:
fileId- Unique ID.- Returns:
- this builder
-
withFileSize
Set value for optional field.- Parameters:
fileSize- File or folder size in bytes.- Returns:
- this builder
-
build
Builds an instance ofFileOrFolderLogInfoconfigured with this builder's values- Returns:
- new instance of
FileOrFolderLogInfo
-