public static class TermVersion.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TermVersion.Builder |
attachment(TermVersionAttachment attachment) |
TermVersion.Builder |
author(Term.Author author)
Who authored the term.
|
TermVersion |
build() |
TermVersion.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
TermVersion.Builder |
copy(TermVersion model) |
TermVersion.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TermVersion.Builder |
displayName(String displayName)
The name for the term version.
|
TermVersion.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
TermVersion.Builder |
id(String id)
Unique OCID identifier for the term version.
|
TermVersion.Builder |
lifecycleState(TermVersion.LifecycleState lifecycleState)
The current state for the term version.
|
TermVersion.Builder |
status(TermVersion.Status status)
The current status for the term version.
|
TermVersion.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
TermVersion.Builder |
termAuthor(Term.Author termAuthor)
Who authored the term.
|
TermVersion.Builder |
termId(String termId)
The unique identifier for the term.
|
TermVersion.Builder |
timeCreated(Date timeCreated)
The date and time the term version was created, in the format defined by
RFC3339.
|
TermVersion.Builder |
timeUpdated(Date timeUpdated)
The date and time the term version was updated, in the format defined by
RFC3339.
|
public TermVersion.Builder id(String id)
Unique OCID identifier for the term version.
id
- the value to setpublic TermVersion.Builder termId(String termId)
The unique identifier for the term.
termId
- the value to setpublic TermVersion.Builder termAuthor(Term.Author termAuthor)
Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.
termAuthor
- the value to setpublic TermVersion.Builder displayName(String displayName)
The name for the term version.
displayName
- the value to setpublic TermVersion.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic TermVersion.Builder attachment(TermVersionAttachment attachment)
public TermVersion.Builder status(TermVersion.Status status)
The current status for the term version.
status
- the value to setpublic TermVersion.Builder author(Term.Author author)
Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.
author
- the value to setpublic TermVersion.Builder lifecycleState(TermVersion.LifecycleState lifecycleState)
The current state for the term version.
lifecycleState
- the value to setpublic TermVersion.Builder timeCreated(Date timeCreated)
The date and time the term version was created, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeCreated
- the value to setpublic TermVersion.Builder timeUpdated(Date timeUpdated)
The date and time the term version was updated, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeUpdated
- the value to setpublic TermVersion.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic TermVersion.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic TermVersion.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic TermVersion build()
public TermVersion.Builder copy(TermVersion model)
Copyright © 2016–2024. All rights reserved.