public static class CreateFolderDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateFolderDetails |
build() |
CreateFolderDetails.Builder |
businessName(String businessName)
Optional user friendly business name of the folder.
|
CreateFolderDetails.Builder |
copy(CreateFolderDetails model) |
CreateFolderDetails.Builder |
customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
CreateFolderDetails.Builder |
description(String description)
Detailed description of a folder.
|
CreateFolderDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
CreateFolderDetails.Builder |
harvestStatus(HarvestStatus harvestStatus)
Folder harvesting status.
|
CreateFolderDetails.Builder |
lastJobKey(String lastJobKey)
The job key of the harvest process that updated the folder definition from the source
system.
|
CreateFolderDetails.Builder |
parentFolderKey(String parentFolderKey)
The key of the containing folder or null if there isn’t a parent folder.
|
CreateFolderDetails.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the folder type.
|
CreateFolderDetails.Builder |
timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
|
CreateFolderDetails.Builder |
typeKey(String typeKey)
Type key of the object.
|
public CreateFolderDetails.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateFolderDetails.Builder businessName(String businessName)
Optional user friendly business name of the folder. If set, this supplements the harvested display name of the object.
businessName
- the value to setpublic CreateFolderDetails.Builder description(String description)
Detailed description of a folder.
description
- the value to setpublic CreateFolderDetails.Builder customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic CreateFolderDetails.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the folder type. Each
folder type definition defines it’s set of required and optional properties. The map keys
are category names and the values are maps of property name to property value. Every
property is contained inside of a category. Most folders have required properties within
the “default” category. To determine the set of optional and required properties for a
folder type, a query can be done on ‘/types?type=folder’ that returns a collection of all
folder types. The appropriate folder type, which includes definitions of all of it’s
properties, can be identified from this collection. Example: {"properties": {
"default": { "key1": "value1"}}}
properties
- the value to setpublic CreateFolderDetails.Builder parentFolderKey(String parentFolderKey)
The key of the containing folder or null if there isn’t a parent folder.
parentFolderKey
- the value to setpublic CreateFolderDetails.Builder timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
timeExternal
- the value to setpublic CreateFolderDetails.Builder lastJobKey(String lastJobKey)
The job key of the harvest process that updated the folder definition from the source system.
lastJobKey
- the value to setpublic CreateFolderDetails.Builder harvestStatus(HarvestStatus harvestStatus)
Folder harvesting status.
harvestStatus
- the value to setpublic CreateFolderDetails.Builder typeKey(String typeKey)
Type key of the object. Type keys can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic CreateFolderDetails build()
public CreateFolderDetails.Builder copy(CreateFolderDetails model)
Copyright © 2016–2024. All rights reserved.