Class TemplatesUpdateForUserBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.fileproperties.TemplatesUpdateForUserBuilder
 
- 
 public class TemplatesUpdateForUserBuilder extends java.lang.ObjectThe request builder returned byDbxUserFilePropertiesRequests.templatesUpdateForUserBuilder(java.lang.String).Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTemplateResultstart()Issues the request.TemplatesUpdateForUserBuilderwithAddFields(java.util.List<PropertyFieldTemplate> addFields)Set value for optional field.TemplatesUpdateForUserBuilderwithDescription(java.lang.String description)Set value for optional field.TemplatesUpdateForUserBuilderwithName(java.lang.String name)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withNamepublic TemplatesUpdateForUserBuilder withName(java.lang.String name) Set value for optional field.- Parameters:
- name- A display name for the template. template names can be up to 256 bytes.
- Returns:
- this builder
 
 - 
withDescriptionpublic TemplatesUpdateForUserBuilder withDescription(java.lang.String description) Set value for optional field.- Parameters:
- description- Description for the new template. Template descriptions can be up to 1024 bytes.
- Returns:
- this builder
 
 - 
withAddFieldspublic TemplatesUpdateForUserBuilder withAddFields(java.util.List<PropertyFieldTemplate> addFields) Set value for optional field.- Parameters:
- addFields- Property field templates to be added to the group template. There can be up to 32 properties in a single template. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
startpublic UpdateTemplateResult start() throws ModifyTemplateErrorException, DbxException Issues the request.
 
- 
 
-