Package com.oracle.bmc.datacatalog.model
Class TermSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.TermSummary.Builder
-
- Enclosing class:
- TermSummary
public static class TermSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
key
public TermSummary.Builder key(String key)
Unique term key that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
displayName
public TermSummary.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 TermSummary.Builder description(String description)
Detailed description of the term.- Parameters:
description
- the value to set- Returns:
- this builder
-
glossaryKey
public TermSummary.Builder glossaryKey(String glossaryKey)
Unique id of the parent glossary.- Parameters:
glossaryKey
- the value to set- Returns:
- this builder
-
uri
public TermSummary.Builder uri(String uri)
URI to the term instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
parentTermKey
public TermSummary.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 TermSummary.Builder isAllowedToHaveChildTerms(Boolean isAllowedToHaveChildTerms)
Indicates whether a term may contain child terms.- Parameters:
isAllowedToHaveChildTerms
- the value to set- Returns:
- this builder
-
path
public TermSummary.Builder path(String path)
Absolute path of the term.- Parameters:
path
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
workflowStatus
public TermSummary.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 TermSummary.Builder associatedObjectCount(Integer associatedObjectCount)
The number of objects tagged with this term.- Parameters:
associatedObjectCount
- the value to set- Returns:
- this builder
-
lifecycleState
public TermSummary.Builder lifecycleState(LifecycleState lifecycleState)
State of the term.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public TermSummary build()
-
copy
public TermSummary.Builder copy(TermSummary model)
-
-