Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Folder |
build() |
Folder.Builder |
businessName(String businessName)
Optional user friendly business name of the folder.
|
Folder.Builder |
copy(Folder model) |
Folder.Builder |
createdById(String createdById)
OCID of the user who created the folder.
|
Folder.Builder |
customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
Folder.Builder |
dataAssetKey(String dataAssetKey)
The key of the associated data asset.
|
Folder.Builder |
description(String description)
Detailed description of a folder.
|
Folder.Builder |
displayName(String displayName)
A user-friendly display name.
|
Folder.Builder |
externalKey(String externalKey)
Unique external key of this object in the source system.
|
Folder.Builder |
harvestStatus(HarvestStatus harvestStatus)
Status of the object as updated by the harvest process.
|
Folder.Builder |
key(String key)
Unique folder key that is immutable.
|
Folder.Builder |
lastJobKey(String lastJobKey)
The key of the last harvest process to update the metadata of this object.
|
Folder.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Folder.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the folder.
|
Folder.Builder |
objectRelationships(List<ObjectRelationship> objectRelationships)
List of objects and their relationships to this folder.
|
Folder.Builder |
objectStorageUrl(String objectStorageUrl)
URL of the folder in the object store.
|
Folder.Builder |
parentFolderKey(String parentFolderKey)
The unique key of the containing folder or null if there is no parent folder.
|
Folder.Builder |
path(String path)
Full path of the folder.
|
Folder.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the folder type.
|
Folder.Builder |
timeCreated(Date timeCreated)
The date and time the folder was created, in the format defined by
RFC3339.
|
Folder.Builder |
timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
|
Folder.Builder |
timeHarvested(Date timeHarvested)
The date and time the folder was harvested, in the format defined by
RFC3339.
|
Folder.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the folder.
|
Folder.Builder |
typeKey(String typeKey)
The type of folder object.
|
Folder.Builder |
updatedById(String updatedById)
OCID of the user who modified the folder.
|
Folder.Builder |
uri(String uri)
URI to the folder instance in the API.
|
public Folder.Builder key(String key)
Unique folder key that is immutable.
key
- the value to setpublic Folder.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 Folder.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 Folder.Builder description(String description)
Detailed description of a folder.
description
- the value to setpublic Folder.Builder parentFolderKey(String parentFolderKey)
The unique key of the containing folder or null if there is no parent folder.
parentFolderKey
- the value to setpublic Folder.Builder typeKey(String typeKey)
The type of folder object. Type keys can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic Folder.Builder timeHarvested(Date timeHarvested)
The date and time the folder was harvested, in the format defined by RFC3339.
timeHarvested
- the value to setpublic Folder.Builder objectRelationships(List<ObjectRelationship> objectRelationships)
List of objects and their relationships to this folder.
objectRelationships
- the value to setpublic Folder.Builder path(String path)
Full path of the folder.
path
- the value to setpublic Folder.Builder dataAssetKey(String dataAssetKey)
The key of the associated data asset.
dataAssetKey
- the value to setpublic Folder.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic Folder.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. Example: {"properties": { "default": { "key1":
"value1"}}}
properties
- the value to setpublic Folder.Builder externalKey(String externalKey)
Unique external key of this object in the source system.
externalKey
- the value to setpublic Folder.Builder timeCreated(Date timeCreated)
The date and time the folder was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic Folder.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the folder. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Folder.Builder createdById(String createdById)
OCID of the user who created the folder.
createdById
- the value to setpublic Folder.Builder updatedById(String updatedById)
OCID of the user who modified the folder.
updatedById
- the value to setpublic Folder.Builder timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
timeExternal
- the value to setpublic Folder.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the folder.
lifecycleState
- the value to setpublic Folder.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details.
lifecycleDetails
- the value to setpublic Folder.Builder harvestStatus(HarvestStatus harvestStatus)
Status of the object as updated by the harvest process.
harvestStatus
- the value to setpublic Folder.Builder lastJobKey(String lastJobKey)
The key of the last harvest process to update the metadata of this object.
lastJobKey
- the value to setpublic Folder.Builder uri(String uri)
URI to the folder instance in the API.
uri
- the value to setpublic Folder.Builder objectStorageUrl(String objectStorageUrl)
URL of the folder in the object store.
objectStorageUrl
- the value to setpublic Folder build()
public Folder.Builder copy(Folder model)
Copyright © 2016–2024. All rights reserved.