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
 
 public static class FolderLogInfo.Builder extends FileOrFolderLogInfo.Builder Builder forFolderLogInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.LongfileCount- 
Fields inherited from class com.dropbox.core.v2.teamlog.FileOrFolderLogInfo.BuilderdisplayName, fileId, fileSize, path
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(PathLogInfo path)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderLogInfobuild()Builds an instance ofFolderLogInfoconfigured with this builder's valuesFolderLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.FolderLogInfo.BuilderwithFileCount(java.lang.Long fileCount)Set value for optional field.FolderLogInfo.BuilderwithFileId(java.lang.String fileId)Set value for optional field.FolderLogInfo.BuilderwithFileSize(java.lang.Long fileSize)Set value for optional field.
 
- 
- 
- 
Constructor Detail- 
Builderprotected Builder(PathLogInfo path) 
 
- 
 - 
Method Detail- 
withFileCountpublic FolderLogInfo.Builder withFileCount(java.lang.Long fileCount) Set value for optional field.- Parameters:
- fileCount- Number of files within the folder.
- Returns:
- this builder
 
 - 
withDisplayNamepublic FolderLogInfo.Builder withDisplayName(java.lang.String displayName) Set value for optional field.- Overrides:
- withDisplayNamein class- FileOrFolderLogInfo.Builder
- Parameters:
- displayName- Display name.
- Returns:
- this builder
 
 - 
withFileIdpublic FolderLogInfo.Builder withFileId(java.lang.String fileId) Set value for optional field.- Overrides:
- withFileIdin class- FileOrFolderLogInfo.Builder
- Parameters:
- fileId- Unique ID.
- Returns:
- this builder
 
 - 
withFileSizepublic FolderLogInfo.Builder withFileSize(java.lang.Long fileSize) Set value for optional field.- Overrides:
- withFileSizein class- FileOrFolderLogInfo.Builder
- Parameters:
- fileSize- File or folder size in bytes.
- Returns:
- this builder
 
 - 
buildpublic FolderLogInfo build() Builds an instance ofFolderLogInfoconfigured with this builder's values- Overrides:
- buildin class- FileOrFolderLogInfo.Builder
- Returns:
- new instance of FolderLogInfo
 
 
- 
 
-