public static class DerivedEntity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DerivedEntity |
build() |
DerivedEntity.Builder |
copy(DerivedEntity model) |
DerivedEntity.Builder |
derivedProperties(Map<String,Object> derivedProperties)
Property-bag (key-value pairs where key is Shape Field resource name and value is object)
|
DerivedEntity.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
DerivedEntity.Builder |
key(String key)
The object key.
|
DerivedEntity.Builder |
metadata(ObjectMetadata metadata) |
DerivedEntity.Builder |
mode(DerivedEntity.Mode mode)
Determines whether entity is treated as source or target
|
DerivedEntity.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
DerivedEntity.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
DerivedEntity.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow reference across objects,
other values reserved.
|
DerivedEntity.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
DerivedEntity.Builder |
parentRef(ParentReference parentRef) |
DerivedEntity.Builder |
refDataObject(ReferencedDataObject refDataObject) |
DerivedEntity.Builder |
resourceName(String resourceName)
The resource name.
|
DerivedEntity.Builder |
shape(Shape shape) |
DerivedEntity.Builder |
shapeId(String shapeId)
The shape ID.
|
public DerivedEntity.Builder metadata(ObjectMetadata metadata)
public DerivedEntity.Builder key(String key)
The object key.
key
- the value to setpublic DerivedEntity.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic DerivedEntity.Builder parentRef(ParentReference parentRef)
public DerivedEntity.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 DerivedEntity.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic DerivedEntity.Builder shape(Shape shape)
public DerivedEntity.Builder shapeId(String shapeId)
The shape ID.
shapeId
- the value to setpublic DerivedEntity.Builder resourceName(String resourceName)
The resource name.
resourceName
- the value to setpublic DerivedEntity.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow reference across objects, other values reserved.
objectStatus
- the value to setpublic DerivedEntity.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 DerivedEntity.Builder refDataObject(ReferencedDataObject refDataObject)
public DerivedEntity.Builder mode(DerivedEntity.Mode mode)
Determines whether entity is treated as source or target
mode
- the value to setpublic DerivedEntity.Builder derivedProperties(Map<String,Object> derivedProperties)
Property-bag (key-value pairs where key is Shape Field resource name and value is object)
derivedProperties
- the value to setpublic DerivedEntity build()
public DerivedEntity.Builder copy(DerivedEntity model)
Copyright © 2016–2024. All rights reserved.