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
 
 public static class FileOrFolderLogInfo.Builder extends java.lang.ObjectBuilder forFileOrFolderLogInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringdisplayNameprotected java.lang.StringfileIdprotected java.lang.LongfileSizeprotected PathLogInfopath
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(PathLogInfo path)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FileOrFolderLogInfobuild()Builds an instance ofFileOrFolderLogInfoconfigured with this builder's valuesFileOrFolderLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.FileOrFolderLogInfo.BuilderwithFileId(java.lang.String fileId)Set value for optional field.FileOrFolderLogInfo.BuilderwithFileSize(java.lang.Long fileSize)Set value for optional field.
 
- 
- 
- 
Field Detail- 
pathprotected final PathLogInfo path 
 - 
displayNameprotected java.lang.String displayName 
 - 
fileIdprotected java.lang.String fileId 
 - 
fileSizeprotected java.lang.Long fileSize 
 
- 
 - 
Constructor Detail- 
Builderprotected Builder(PathLogInfo path) 
 
- 
 - 
Method Detail- 
withDisplayNamepublic FileOrFolderLogInfo.Builder withDisplayName(java.lang.String displayName) Set value for optional field.- Parameters:
- displayName- Display name.
- Returns:
- this builder
 
 - 
withFileIdpublic FileOrFolderLogInfo.Builder withFileId(java.lang.String fileId) Set value for optional field.- Parameters:
- fileId- Unique ID.
- Returns:
- this builder
 
 - 
withFileSizepublic FileOrFolderLogInfo.Builder withFileSize(java.lang.Long fileSize) Set value for optional field.- Parameters:
- fileSize- File or folder size in bytes.
- Returns:
- this builder
 
 - 
buildpublic FileOrFolderLogInfo build() Builds an instance ofFileOrFolderLogInfoconfigured with this builder's values- Returns:
- new instance of FileOrFolderLogInfo
 
 
- 
 
-