Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Schema |
build() |
Schema.Builder |
copy(Schema model) |
Schema.Builder |
defaultConnection(String defaultConnection)
The default connection key.
|
Schema.Builder |
description(String description)
User-defined description for the schema.
|
Schema.Builder |
externalKey(String externalKey)
The external key for the object.
|
Schema.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
Schema.Builder |
isHasContainers(Boolean isHasContainers)
Specifies whether the schema has containers.
|
Schema.Builder |
key(String key)
The object key.
|
Schema.Builder |
metadata(ObjectMetadata metadata) |
Schema.Builder |
modelType(String modelType)
The object’s type.
|
Schema.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
Schema.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
Schema.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
Schema.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
Schema.Builder |
parentRef(ParentReference parentRef) |
Schema.Builder |
resourceName(String resourceName)
A resource name can have letters, numbers, and special characters.
|
public Schema.Builder key(String key)
The object key.
key
- the value to setpublic Schema.Builder modelType(String modelType)
The object’s type.
modelType
- the value to setpublic Schema.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic Schema.Builder parentRef(ParentReference parentRef)
public Schema.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 Schema.Builder resourceName(String resourceName)
A resource name can have letters, numbers, and special characters. The value is editable and is restricted to 4000 characters.
resourceName
- the value to setpublic Schema.Builder description(String description)
User-defined description for the schema.
description
- the value to setpublic Schema.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic Schema.Builder externalKey(String externalKey)
The external key for the object.
externalKey
- the value to setpublic Schema.Builder isHasContainers(Boolean isHasContainers)
Specifies whether the schema has containers.
isHasContainers
- the value to setpublic Schema.Builder defaultConnection(String defaultConnection)
The default connection key.
defaultConnection
- the value to setpublic Schema.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 Schema.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 Schema.Builder metadata(ObjectMetadata metadata)
public Schema build()
public Schema.Builder copy(Schema model)
Copyright © 2016–2024. All rights reserved.