public static class TermRelationship.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TermRelationship |
build() |
TermRelationship.Builder |
copy(TermRelationship model) |
TermRelationship.Builder |
description(String description)
Detailed description of the term relationship usually defined at the time of creation.
|
TermRelationship.Builder |
displayName(String displayName)
A user-friendly display name.
|
TermRelationship.Builder |
key(String key)
Unique term relationship key that is immutable.
|
TermRelationship.Builder |
lifecycleState(LifecycleState lifecycleState)
State of the term relationship.
|
TermRelationship.Builder |
parentTermDescription(String parentTermDescription)
Description of the parent term.
|
TermRelationship.Builder |
parentTermDisplayName(String parentTermDisplayName)
Name of the parent term.
|
TermRelationship.Builder |
parentTermGlossaryKey(String parentTermGlossaryKey)
Glossary key of the parent term.
|
TermRelationship.Builder |
parentTermKey(String parentTermKey)
This relationships parent term key.
|
TermRelationship.Builder |
parentTermPath(String parentTermPath)
Full path of the parent term.
|
TermRelationship.Builder |
relatedTermDescription(String relatedTermDescription)
Description of the related term.
|
TermRelationship.Builder |
relatedTermDisplayName(String relatedTermDisplayName)
Name of the related term.
|
TermRelationship.Builder |
relatedTermGlossaryKey(String relatedTermGlossaryKey)
Glossary key of the related term.
|
TermRelationship.Builder |
relatedTermKey(String relatedTermKey)
Unique id of the related term.
|
TermRelationship.Builder |
relatedTermPath(String relatedTermPath)
Full path of the related term.
|
TermRelationship.Builder |
timeCreated(Date timeCreated)
The date and time the term relationship was created, in the format defined by
RFC3339.
|
TermRelationship.Builder |
uri(String uri)
URI to the term relationship instance in the API.
|
public TermRelationship.Builder key(String key)
Unique term relationship key that is immutable.
key
- the value to setpublic TermRelationship.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.This is the same as relationshipType for termRelationship
displayName
- the value to setpublic TermRelationship.Builder description(String description)
Detailed description of the term relationship usually defined at the time of creation.
description
- the value to setpublic TermRelationship.Builder relatedTermKey(String relatedTermKey)
Unique id of the related term.
relatedTermKey
- the value to setpublic TermRelationship.Builder relatedTermDisplayName(String relatedTermDisplayName)
Name of the related term.
relatedTermDisplayName
- the value to setpublic TermRelationship.Builder relatedTermDescription(String relatedTermDescription)
Description of the related term.
relatedTermDescription
- the value to setpublic TermRelationship.Builder relatedTermPath(String relatedTermPath)
Full path of the related term.
relatedTermPath
- the value to setpublic TermRelationship.Builder relatedTermGlossaryKey(String relatedTermGlossaryKey)
Glossary key of the related term.
relatedTermGlossaryKey
- the value to setpublic TermRelationship.Builder uri(String uri)
URI to the term relationship instance in the API.
uri
- the value to setpublic TermRelationship.Builder parentTermKey(String parentTermKey)
This relationships parent term key.
parentTermKey
- the value to setpublic TermRelationship.Builder parentTermDisplayName(String parentTermDisplayName)
Name of the parent term.
parentTermDisplayName
- the value to setpublic TermRelationship.Builder parentTermDescription(String parentTermDescription)
Description of the parent term.
parentTermDescription
- the value to setpublic TermRelationship.Builder parentTermPath(String parentTermPath)
Full path of the parent term.
parentTermPath
- the value to setpublic TermRelationship.Builder parentTermGlossaryKey(String parentTermGlossaryKey)
Glossary key of the parent term.
parentTermGlossaryKey
- the value to setpublic TermRelationship.Builder timeCreated(Date timeCreated)
The date and time the term relationship was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic TermRelationship.Builder lifecycleState(LifecycleState lifecycleState)
State of the term relationship.
lifecycleState
- the value to setpublic TermRelationship build()
public TermRelationship.Builder copy(TermRelationship model)
Copyright © 2016–2024. All rights reserved.