public class TemplatesUpdateForTeamBuilder
extends java.lang.Object
DbxTeamFilePropertiesRequests.templatesUpdateForTeamBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
UpdateTemplateResult |
start()
Issues the request.
|
TemplatesUpdateForTeamBuilder |
withAddFields(java.util.List<PropertyFieldTemplate> addFields)
Set value for optional field.
|
TemplatesUpdateForTeamBuilder |
withDescription(java.lang.String description)
Set value for optional field.
|
TemplatesUpdateForTeamBuilder |
withName(java.lang.String name)
Set value for optional field.
|
public TemplatesUpdateForTeamBuilder withName(java.lang.String name)
name
- A display name for the template. template names can be up to
256 bytes.public TemplatesUpdateForTeamBuilder withDescription(java.lang.String description)
description
- Description for the new template. Template
descriptions can be up to 1024 bytes.public TemplatesUpdateForTeamBuilder withAddFields(java.util.List<PropertyFieldTemplate> addFields)
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 null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UpdateTemplateResult start() throws ModifyTemplateErrorException, DbxException