public class UpdateFolderPolicyBuilder extends Object
DbxUserSharingRequests.updateFolderPolicyBuilder(String).
Use this class to set optional request parameters and complete the request.
| Modifier and Type | Method and Description |
|---|---|
SharedFolderMetadata |
start()
Issues the request.
|
UpdateFolderPolicyBuilder |
withAclUpdatePolicy(AclUpdatePolicy aclUpdatePolicy)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withMemberPolicy(MemberPolicy memberPolicy)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withSharedLinkPolicy(SharedLinkPolicy sharedLinkPolicy)
Set value for optional field.
|
public UpdateFolderPolicyBuilder withMemberPolicy(MemberPolicy memberPolicy)
memberPolicy - Who can be a member of this shared folder. Only
applicable if the current user is on a team.public UpdateFolderPolicyBuilder withAclUpdatePolicy(AclUpdatePolicy aclUpdatePolicy)
aclUpdatePolicy - Who can add and remove members of this shared
folder.public UpdateFolderPolicyBuilder withSharedLinkPolicy(SharedLinkPolicy sharedLinkPolicy)
sharedLinkPolicy - The policy to apply to shared links created for
content inside this shared folder. The current user must be on a team
to set this policy to SharedLinkPolicy.MEMBERS.public SharedFolderMetadata start() throws UpdateFolderPolicyErrorException, DbxException