Package com.dropbox.core.v2.teamlog
Class FolderLogInfo.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.Builder
com.dropbox.core.v2.teamlog.FolderLogInfo.Builder
- Enclosing class:
FolderLogInfo
Builder for
FolderLogInfo.-
Field Summary
FieldsFields inherited from class com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.Builder
displayName, fileId, fileSize, path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofFolderLogInfoconfigured with this builder's valueswithDisplayName(String displayName) Set value for optional field.withFileCount(Long fileCount) Set value for optional field.withFileId(String fileId) Set value for optional field.withFileSize(Long fileSize) Set value for optional field.
-
Field Details
-
fileCount
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withFileCount
Set value for optional field.- Parameters:
fileCount- Number of files within the folder.- Returns:
- this builder
-
withDisplayName
Set value for optional field.- Overrides:
withDisplayNamein classFileOrFolderLogInfo.Builder- Parameters:
displayName- Display name.- Returns:
- this builder
-
withFileId
Set value for optional field.- Overrides:
withFileIdin classFileOrFolderLogInfo.Builder- Parameters:
fileId- Unique ID.- Returns:
- this builder
-
withFileSize
Set value for optional field.- Overrides:
withFileSizein classFileOrFolderLogInfo.Builder- Parameters:
fileSize- File or folder size in bytes.- Returns:
- this builder
-
build
Builds an instance ofFolderLogInfoconfigured with this builder's values- Overrides:
buildin classFileOrFolderLogInfo.Builder- Returns:
- new instance of
FolderLogInfo
-