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