public class UpdateFolderPolicyBuilder
extends java.lang.Object
DbxUserSharingRequests.updateFolderPolicyBuilder(java.lang.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 |
withActions(java.util.List<FolderAction> actions)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withLinkSettings(LinkSettings linkSettings)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withMemberPolicy(MemberPolicy memberPolicy)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withSharedLinkPolicy(SharedLinkPolicy sharedLinkPolicy)
Set value for optional field.
|
UpdateFolderPolicyBuilder |
withViewerInfoPolicy(ViewerInfoPolicy viewerInfoPolicy)
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 withViewerInfoPolicy(ViewerInfoPolicy viewerInfoPolicy)
viewerInfoPolicy - Who can enable/disable viewer info for 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 UpdateFolderPolicyBuilder withLinkSettings(LinkSettings linkSettings)
linkSettings - Settings on the link for this folder.public UpdateFolderPolicyBuilder withActions(java.util.List<FolderAction> actions)
actions - A list of `FolderAction`s corresponding to
`FolderPermission`s that should appear in the response's SharedFolderMetadata.getPermissions() field describing the actions the
authenticated user can perform on the folder. Must not contain a
null item.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public SharedFolderMetadata start() throws UpdateFolderPolicyErrorException, DbxException