public class PropertiesTemplateUpdateBuilder
extends java.lang.Object
DbxTeamTeamRequests.propertiesTemplateUpdateBuilder(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.
|
PropertiesTemplateUpdateBuilder |
withAddFields(java.util.List<PropertyFieldTemplate> addFields)
Set value for optional field.
|
PropertiesTemplateUpdateBuilder |
withDescription(java.lang.String description)
Set value for optional field.
|
PropertiesTemplateUpdateBuilder |
withName(java.lang.String name)
Set value for optional field.
|
public PropertiesTemplateUpdateBuilder withName(java.lang.String name)
name
- A display name for the template. template names can be up to
256 bytes.public PropertiesTemplateUpdateBuilder withDescription(java.lang.String description)
description
- Description for the new template. Template
descriptions can be up to 1024 bytes.public PropertiesTemplateUpdateBuilder 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