public static class TermSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TermSummary.Builder |
associatedObjectCount(Integer associatedObjectCount)
The number of objects tagged with this term.
|
TermSummary |
build() |
TermSummary.Builder |
copy(TermSummary model) |
TermSummary.Builder |
description(String description)
Detailed description of the term.
|
TermSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
TermSummary.Builder |
glossaryKey(String glossaryKey)
Unique id of the parent glossary.
|
TermSummary.Builder |
isAllowedToHaveChildTerms(Boolean isAllowedToHaveChildTerms)
Indicates whether a term may contain child terms.
|
TermSummary.Builder |
key(String key)
Unique term key that is immutable.
|
TermSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
State of the term.
|
TermSummary.Builder |
parentTermKey(String parentTermKey)
This terms parent term key.
|
TermSummary.Builder |
path(String path)
Absolute path of the term.
|
TermSummary.Builder |
timeCreated(Date timeCreated)
The date and time the term was created, in the format defined by
RFC3339.
|
TermSummary.Builder |
uri(String uri)
URI to the term instance in the API.
|
TermSummary.Builder |
workflowStatus(TermWorkflowStatus workflowStatus)
Status of the approval process workflow for this business term in the glossary.
|
public TermSummary.Builder key(String key)
Unique term key that is immutable.
key
- the value to setpublic TermSummary.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic TermSummary.Builder description(String description)
Detailed description of the term.
description
- the value to setpublic TermSummary.Builder glossaryKey(String glossaryKey)
Unique id of the parent glossary.
glossaryKey
- the value to setpublic TermSummary.Builder uri(String uri)
URI to the term instance in the API.
uri
- the value to setpublic TermSummary.Builder parentTermKey(String parentTermKey)
This terms parent term key. Will be null if the term has no parent term.
parentTermKey
- the value to setpublic TermSummary.Builder isAllowedToHaveChildTerms(Boolean isAllowedToHaveChildTerms)
Indicates whether a term may contain child terms.
isAllowedToHaveChildTerms
- the value to setpublic TermSummary.Builder path(String path)
Absolute path of the term.
path
- the value to setpublic TermSummary.Builder timeCreated(Date timeCreated)
The date and time the term was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic TermSummary.Builder workflowStatus(TermWorkflowStatus workflowStatus)
Status of the approval process workflow for this business term in the glossary.
workflowStatus
- the value to setpublic TermSummary.Builder associatedObjectCount(Integer associatedObjectCount)
The number of objects tagged with this term.
associatedObjectCount
- the value to setpublic TermSummary.Builder lifecycleState(LifecycleState lifecycleState)
State of the term.
lifecycleState
- the value to setpublic TermSummary build()
public TermSummary.Builder copy(TermSummary model)
Copyright © 2016–2024. All rights reserved.