Package com.dropbox.core.v2.sharing
Class MemberAccessLevelResult.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.MemberAccessLevelResult.Builder
 
- 
- Enclosing class:
- MemberAccessLevelResult
 
 public static class MemberAccessLevelResult.Builder extends java.lang.ObjectBuilder forMemberAccessLevelResult.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<ParentFolderAccessInfo>accessDetailsprotected AccessLevelaccessLevelprotected java.lang.Stringwarning
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberAccessLevelResultbuild()Builds an instance ofMemberAccessLevelResultconfigured with this builder's valuesMemberAccessLevelResult.BuilderwithAccessDetails(java.util.List<ParentFolderAccessInfo> accessDetails)Set value for optional field.MemberAccessLevelResult.BuilderwithAccessLevel(AccessLevel accessLevel)Set value for optional field.MemberAccessLevelResult.BuilderwithWarning(java.lang.String warning)Set value for optional field.
 
- 
- 
- 
Field Detail- 
accessLevelprotected AccessLevel accessLevel 
 - 
warningprotected java.lang.String warning 
 - 
accessDetailsprotected java.util.List<ParentFolderAccessInfo> accessDetails 
 
- 
 - 
Method Detail- 
withAccessLevelpublic MemberAccessLevelResult.Builder withAccessLevel(AccessLevel accessLevel) Set value for optional field.- Parameters:
- accessLevel- The member still has this level of access to the content through a parent folder.
- Returns:
- this builder
 
 - 
withWarningpublic MemberAccessLevelResult.Builder withWarning(java.lang.String warning) Set value for optional field.- Parameters:
- warning- A localized string with additional information about why the user has this access level to the content.
- Returns:
- this builder
 
 - 
withAccessDetailspublic MemberAccessLevelResult.Builder withAccessDetails(java.util.List<ParentFolderAccessInfo> accessDetails) Set value for optional field.- Parameters:
- accessDetails- The parent folders that a member has access to. The field is present if the user has access to the first parent folder where the member gains access. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic MemberAccessLevelResult build() Builds an instance ofMemberAccessLevelResultconfigured with this builder's values- Returns:
- new instance of MemberAccessLevelResult
 
 
- 
 
-