Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Term.Builder |
author(Term.Author author)
Who authored the term.
|
Term |
build() |
Term.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
Term.Builder |
copy(Term model) |
Term.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Term.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Term.Builder |
id(String id)
Unique OCID identifier for the term.
|
Term.Builder |
lifecycleState(Term.LifecycleState lifecycleState)
The current state for the Term.
|
Term.Builder |
name(String name)
The name for the term.
|
Term.Builder |
publisherId(String publisherId)
The unique identifier for the publisher.
|
Term.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Term.Builder |
timeCreated(Date timeCreated)
The date and time the term was created, in the format defined by
RFC3339.
|
Term.Builder |
timeUpdated(Date timeUpdated)
The date and time the term was updated, in the format defined by
RFC3339.
|
public Term.Builder id(String id)
Unique OCID identifier for the term.
id
- the value to setpublic Term.Builder name(String name)
The name for the term.
name
- the value to setpublic Term.Builder author(Term.Author author)
Who authored the term. Publisher terms will be defaulted to ‘PARTNER’.
author
- the value to setpublic Term.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic Term.Builder publisherId(String publisherId)
The unique identifier for the publisher.
publisherId
- the value to setpublic Term.Builder lifecycleState(Term.LifecycleState lifecycleState)
The current state for the Term.
lifecycleState
- the value to setpublic Term.Builder timeCreated(Date timeCreated)
The date and time the term was created, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeCreated
- the value to setpublic Term.Builder timeUpdated(Date timeUpdated)
The date and time the term was updated, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeUpdated
- the value to setpublic Term.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 Term.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 Term.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 Term build()
public Term.Builder copy(Term model)
Copyright © 2016–2024. All rights reserved.