Package com.oracle.bmc.datacatalog.model
Class GlossaryTreeElement.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.GlossaryTreeElement.Builder
-
- Enclosing class:
- GlossaryTreeElement
public static class GlossaryTreeElement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlossaryTreeElement.BuilderassociatedObjectCount(Integer associatedObjectCount)The number of objects tagged with this term.GlossaryTreeElementbuild()GlossaryTreeElement.BuilderchildTerms(List<GlossaryTreeElement> childTerms)An array of child terms.GlossaryTreeElement.Buildercopy(GlossaryTreeElement model)GlossaryTreeElement.Builderdescription(String description)Detailed description of the term.GlossaryTreeElement.BuilderdisplayName(String displayName)A user-friendly display name.GlossaryTreeElement.BuilderglossaryKey(String glossaryKey)Unique id of the parent glossary.GlossaryTreeElement.BuilderisAllowedToHaveChildTerms(Boolean isAllowedToHaveChildTerms)Indicates whether a term may contain child terms.GlossaryTreeElement.Builderkey(String key)Unique term key that is immutable.GlossaryTreeElement.BuilderlifecycleState(LifecycleState lifecycleState)State of the term.GlossaryTreeElement.BuilderparentTermKey(String parentTermKey)This terms parent term key.GlossaryTreeElement.Builderpath(String path)Absolute path of the term.GlossaryTreeElement.BuildertimeCreated(Date timeCreated)The date and time the term was created, in the format defined by RFC3339.GlossaryTreeElement.Builderuri(String uri)URI to the term instance in the API.GlossaryTreeElement.BuilderworkflowStatus(TermWorkflowStatus workflowStatus)Status of the approval process workflow for this business term in the glossary.
-
-
-
Method Detail
-
childTerms
public GlossaryTreeElement.Builder childTerms(List<GlossaryTreeElement> childTerms)
An array of child terms.- Parameters:
childTerms- the value to set- Returns:
- this builder
-
key
public GlossaryTreeElement.Builder key(String key)
Unique term key that is immutable.- Parameters:
key- the value to set- Returns:
- this builder
-
displayName
public GlossaryTreeElement.Builder displayName(String displayName)
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public GlossaryTreeElement.Builder description(String description)
Detailed description of the term.- Parameters:
description- the value to set- Returns:
- this builder
-
glossaryKey
public GlossaryTreeElement.Builder glossaryKey(String glossaryKey)
Unique id of the parent glossary.- Parameters:
glossaryKey- the value to set- Returns:
- this builder
-
uri
public GlossaryTreeElement.Builder uri(String uri)
URI to the term instance in the API.- Parameters:
uri- the value to set- Returns:
- this builder
-
parentTermKey
public GlossaryTreeElement.Builder parentTermKey(String parentTermKey)
This terms parent term key.Will be null if the term has no parent term.
- Parameters:
parentTermKey- the value to set- Returns:
- this builder
-
isAllowedToHaveChildTerms
public GlossaryTreeElement.Builder isAllowedToHaveChildTerms(Boolean isAllowedToHaveChildTerms)
Indicates whether a term may contain child terms.- Parameters:
isAllowedToHaveChildTerms- the value to set- Returns:
- this builder
-
path
public GlossaryTreeElement.Builder path(String path)
Absolute path of the term.- Parameters:
path- the value to set- Returns:
- this builder
-
timeCreated
public GlossaryTreeElement.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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
workflowStatus
public GlossaryTreeElement.Builder workflowStatus(TermWorkflowStatus workflowStatus)
Status of the approval process workflow for this business term in the glossary.- Parameters:
workflowStatus- the value to set- Returns:
- this builder
-
associatedObjectCount
public GlossaryTreeElement.Builder associatedObjectCount(Integer associatedObjectCount)
The number of objects tagged with this term.- Parameters:
associatedObjectCount- the value to set- Returns:
- this builder
-
lifecycleState
public GlossaryTreeElement.Builder lifecycleState(LifecycleState lifecycleState)
State of the term.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public GlossaryTreeElement build()
-
copy
public GlossaryTreeElement.Builder copy(GlossaryTreeElement model)
-
-