public static class DataEntityFromSql.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataEntityFromSql |
build() |
DataEntityFromSql.Builder |
copy(DataEntityFromSql model) |
DataEntityFromSql.Builder |
description(String description)
Detailed description for the object.
|
DataEntityFromSql.Builder |
entityType(DataEntityFromSql.EntityType entityType)
The entity type.
|
DataEntityFromSql.Builder |
externalKey(String externalKey)
The external key for the object
|
DataEntityFromSql.Builder |
foreignKeys(List<ForeignKey> foreignKeys)
An array of foreign keys.
|
DataEntityFromSql.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore and numbers.
|
DataEntityFromSql.Builder |
key(String key)
The object key.
|
DataEntityFromSql.Builder |
metadata(ObjectMetadata metadata) |
DataEntityFromSql.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
DataEntityFromSql.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
DataEntityFromSql.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
DataEntityFromSql.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
DataEntityFromSql.Builder |
otherTypeLabel(String otherTypeLabel)
Specifies other type label.
|
DataEntityFromSql.Builder |
parentRef(ParentReference parentRef) |
DataEntityFromSql.Builder |
resourceName(String resourceName)
The resource name.
|
DataEntityFromSql.Builder |
shape(Shape shape) |
DataEntityFromSql.Builder |
shapeId(String shapeId)
The shape ID.
|
DataEntityFromSql.Builder |
sqlQuery(String sqlQuery)
sqlQuery
|
DataEntityFromSql.Builder |
uniqueKeys(List<UniqueKey> uniqueKeys)
An array of unique keys.
|
public DataEntityFromSql.Builder metadata(ObjectMetadata metadata)
public DataEntityFromSql.Builder key(String key)
The object key.
key
- the value to setpublic DataEntityFromSql.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic DataEntityFromSql.Builder parentRef(ParentReference parentRef)
public DataEntityFromSql.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 DataEntityFromSql.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic DataEntityFromSql.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic DataEntityFromSql.Builder externalKey(String externalKey)
The external key for the object
externalKey
- the value to setpublic DataEntityFromSql.Builder shape(Shape shape)
public DataEntityFromSql.Builder shapeId(String shapeId)
The shape ID.
shapeId
- the value to setpublic DataEntityFromSql.Builder entityType(DataEntityFromSql.EntityType entityType)
The entity type.
entityType
- the value to setpublic DataEntityFromSql.Builder otherTypeLabel(String otherTypeLabel)
Specifies other type label.
otherTypeLabel
- the value to setpublic DataEntityFromSql.Builder uniqueKeys(List<UniqueKey> uniqueKeys)
An array of unique keys.
uniqueKeys
- the value to setpublic DataEntityFromSql.Builder foreignKeys(List<ForeignKey> foreignKeys)
An array of foreign keys.
foreignKeys
- the value to setpublic DataEntityFromSql.Builder resourceName(String resourceName)
The resource name.
resourceName
- the value to setpublic DataEntityFromSql.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 DataEntityFromSql.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 DataEntityFromSql.Builder sqlQuery(String sqlQuery)
sqlQuery
sqlQuery
- the value to setpublic DataEntityFromSql build()
public DataEntityFromSql.Builder copy(DataEntityFromSql model)
Copyright © 2016–2024. All rights reserved.