public static class DataEntityFromObject.Builder extends Object
Constructor and Description |
---|
Builder() |
public DataEntityFromObject.Builder metadata(ObjectMetadata metadata)
public DataEntityFromObject.Builder key(String key)
The object key.
key
- the value to setpublic DataEntityFromObject.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic DataEntityFromObject.Builder parentRef(ParentReference parentRef)
public DataEntityFromObject.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 DataEntityFromObject.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic DataEntityFromObject.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic DataEntityFromObject.Builder externalKey(String externalKey)
The external key for the object
externalKey
- the value to setpublic DataEntityFromObject.Builder shape(Shape shape)
public DataEntityFromObject.Builder shapeId(String shapeId)
The shape ID.
shapeId
- the value to setpublic DataEntityFromObject.Builder entityType(DataEntityFromObject.EntityType entityType)
The entity type.
entityType
- the value to setpublic DataEntityFromObject.Builder otherTypeLabel(String otherTypeLabel)
Specifies other type label.
otherTypeLabel
- the value to setpublic DataEntityFromObject.Builder uniqueKeys(List<UniqueKey> uniqueKeys)
An array of unique keys.
uniqueKeys
- the value to setpublic DataEntityFromObject.Builder foreignKeys(List<ForeignKey> foreignKeys)
An array of foreign keys.
foreignKeys
- the value to setpublic DataEntityFromObject.Builder resourceName(String resourceName)
The resource name.
resourceName
- the value to setpublic DataEntityFromObject.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 DataEntityFromObject.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 DataEntityFromObject build()
public DataEntityFromObject.Builder copy(DataEntityFromObject model)
Copyright © 2016–2024. All rights reserved.