Class PropertyGroupUpdate.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.fileproperties.PropertyGroupUpdate.Builder
 
- 
- Enclosing class:
- PropertyGroupUpdate
 
 public static class PropertyGroupUpdate.Builder extends java.lang.ObjectBuilder forPropertyGroupUpdate.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<PropertyField>addOrUpdateFieldsprotected java.util.List<java.lang.String>removeFieldsprotected java.lang.StringtemplateId
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String templateId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyGroupUpdatebuild()Builds an instance ofPropertyGroupUpdateconfigured with this builder's valuesPropertyGroupUpdate.BuilderwithAddOrUpdateFields(java.util.List<PropertyField> addOrUpdateFields)Set value for optional field.PropertyGroupUpdate.BuilderwithRemoveFields(java.util.List<java.lang.String> removeFields)Set value for optional field.
 
- 
- 
- 
Field Detail- 
templateIdprotected final java.lang.String templateId 
 - 
addOrUpdateFieldsprotected java.util.List<PropertyField> addOrUpdateFields 
 - 
removeFieldsprotected java.util.List<java.lang.String> removeFields 
 
- 
 - 
Method Detail- 
withAddOrUpdateFieldspublic PropertyGroupUpdate.Builder withAddOrUpdateFields(java.util.List<PropertyField> addOrUpdateFields) Set value for optional field.- Parameters:
- addOrUpdateFields- Property fields to update. If the property field already exists, it is updated. If the property field doesn't exist, the property group is added. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withRemoveFieldspublic PropertyGroupUpdate.Builder withRemoveFields(java.util.List<java.lang.String> removeFields) Set value for optional field.- Parameters:
- removeFields- Property fields to remove (by name), provided they exist. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic PropertyGroupUpdate build() Builds an instance ofPropertyGroupUpdateconfigured with this builder's values- Returns:
- new instance of PropertyGroupUpdate
 
 
- 
 
-