Package com.dropbox.core.v2.teamlog
Class GovernancePolicyAddFoldersDetails.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.GovernancePolicyAddFoldersDetails.Builder
 
- 
- Enclosing class:
- GovernancePolicyAddFoldersDetails
 
 public static class GovernancePolicyAddFoldersDetails.Builder extends java.lang.ObjectBuilder forGovernancePolicyAddFoldersDetails.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<java.lang.String>foldersprotected java.lang.StringgovernancePolicyIdprotected java.lang.Stringnameprotected PolicyTypepolicyType
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String governancePolicyId, java.lang.String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GovernancePolicyAddFoldersDetailsbuild()Builds an instance ofGovernancePolicyAddFoldersDetailsconfigured with this builder's valuesGovernancePolicyAddFoldersDetails.BuilderwithFolders(java.util.List<java.lang.String> folders)Set value for optional field.GovernancePolicyAddFoldersDetails.BuilderwithPolicyType(PolicyType policyType)Set value for optional field.
 
- 
- 
- 
Field Detail- 
governancePolicyIdprotected final java.lang.String governancePolicyId 
 - 
nameprotected final java.lang.String name 
 - 
policyTypeprotected PolicyType policyType 
 - 
foldersprotected java.util.List<java.lang.String> folders 
 
- 
 - 
Method Detail- 
withPolicyTypepublic GovernancePolicyAddFoldersDetails.Builder withPolicyType(PolicyType policyType) Set value for optional field.- Parameters:
- policyType- Policy type.
- Returns:
- this builder
 
 - 
withFolderspublic GovernancePolicyAddFoldersDetails.Builder withFolders(java.util.List<java.lang.String> folders) Set value for optional field.- Parameters:
- folders- Folders. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic GovernancePolicyAddFoldersDetails build() Builds an instance ofGovernancePolicyAddFoldersDetailsconfigured with this builder's values- Returns:
- new instance of GovernancePolicyAddFoldersDetails
 
 
- 
 
-