public static class ForeignKey.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ForeignKey.Builder |
attributeRefs(List<KeyAttribute> attributeRefs)
An array of attribute references.
|
ForeignKey |
build() |
ForeignKey.Builder |
copy(ForeignKey model) |
ForeignKey.Builder |
deleteRule(Integer deleteRule)
The delete rule.
|
ForeignKey.Builder |
key(String key)
The object key.
|
ForeignKey.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
ForeignKey.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
ForeignKey.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
ForeignKey.Builder |
parentRef(ParentReference parentRef) |
ForeignKey.Builder |
referenceUniqueKey(UniqueKey referenceUniqueKey) |
ForeignKey.Builder |
updateRule(Integer updateRule)
The update rule.
|
public ForeignKey.Builder key(String key)
The object key.
key
- the value to setpublic ForeignKey.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic ForeignKey.Builder parentRef(ParentReference parentRef)
public ForeignKey.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 ForeignKey.Builder attributeRefs(List<KeyAttribute> attributeRefs)
An array of attribute references.
attributeRefs
- the value to setpublic ForeignKey.Builder updateRule(Integer updateRule)
The update rule.
updateRule
- the value to setpublic ForeignKey.Builder deleteRule(Integer deleteRule)
The delete rule.
deleteRule
- the value to setpublic ForeignKey.Builder referenceUniqueKey(UniqueKey referenceUniqueKey)
public ForeignKey.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 ForeignKey build()
public ForeignKey.Builder copy(ForeignKey model)
Copyright © 2016–2024. All rights reserved.