public static class FolderSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FolderSummary |
build() |
FolderSummary.Builder |
categoryName(String categoryName)
The category name.
|
FolderSummary.Builder |
copy(FolderSummary model) |
FolderSummary.Builder |
description(String description)
A user defined description for the folder.
|
FolderSummary.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
FolderSummary.Builder |
key(String key)
Generated key that can be used in API calls to identify folder.
|
FolderSummary.Builder |
keyMap(Map<String,String> keyMap)
A key map.
|
FolderSummary.Builder |
metadata(ObjectMetadata metadata) |
FolderSummary.Builder |
modelType(String modelType)
The type of the object.
|
FolderSummary.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
FolderSummary.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
FolderSummary.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
FolderSummary.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
FolderSummary.Builder |
parentRef(ParentReference parentRef) |
public FolderSummary.Builder key(String key)
Generated key that can be used in API calls to identify folder.
key
- the value to setpublic FolderSummary.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic FolderSummary.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic FolderSummary.Builder name(String name)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
name
- the value to setpublic FolderSummary.Builder description(String description)
A user defined description for the folder.
description
- the value to setpublic FolderSummary.Builder categoryName(String categoryName)
The category name.
categoryName
- the value to setpublic FolderSummary.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic FolderSummary.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
identifier
- the value to setpublic FolderSummary.Builder parentRef(ParentReference parentRef)
public FolderSummary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic FolderSummary.Builder metadata(ObjectMetadata metadata)
public FolderSummary.Builder keyMap(Map<String,String> keyMap)
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
keyMap
- the value to setpublic FolderSummary build()
public FolderSummary.Builder copy(FolderSummary model)
Copyright © 2016–2024. All rights reserved.