public class LegalHoldsUpdatePolicyBuilder
extends java.lang.Object
DbxTeamTeamRequests.legalHoldsUpdatePolicyBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
LegalHoldPolicy |
start()
Issues the request.
|
LegalHoldsUpdatePolicyBuilder |
withDescription(java.lang.String description)
Set value for optional field.
|
LegalHoldsUpdatePolicyBuilder |
withMembers(java.util.List<java.lang.String> members)
Set value for optional field.
|
LegalHoldsUpdatePolicyBuilder |
withName(java.lang.String name)
Set value for optional field.
|
public LegalHoldsUpdatePolicyBuilder withName(java.lang.String name)
name
- Policy new name. Must have length of at most 140.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LegalHoldsUpdatePolicyBuilder withDescription(java.lang.String description)
description
- Policy new description. Must have length of at most
501.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LegalHoldsUpdatePolicyBuilder withMembers(java.util.List<java.lang.String> members)
members
- List of team member IDs to apply the policy on. Must not
contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LegalHoldPolicy start() throws LegalHoldsPolicyUpdateErrorException, DbxException