Class TermVersion.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.model.TermVersion.Builder
 
- 
- Enclosing class:
- TermVersion
 
 public static class TermVersion.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TermVersion.Builderattachment(TermVersionAttachment attachment)TermVersion.Builderauthor(Term.Author author)Who authored the term.TermVersionbuild()TermVersion.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.TermVersion.Buildercopy(TermVersion model)TermVersion.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TermVersion.BuilderdisplayName(String displayName)The name for the term version.TermVersion.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.TermVersion.Builderid(String id)Unique OCID identifier for the term version.TermVersion.BuilderlifecycleState(TermVersion.LifecycleState lifecycleState)The current state for the term version.TermVersion.Builderstatus(TermVersion.Status status)The current status for the term version.TermVersion.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TermVersion.BuildertermAuthor(Term.Author termAuthor)Who authored the term.TermVersion.BuildertermId(String termId)The unique identifier for the term.TermVersion.BuildertimeCreated(Date timeCreated)The date and time the term version was created, in the format defined by RFC3339.TermVersion.BuildertimeUpdated(Date timeUpdated)The date and time the term version was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic TermVersion.Builder id(String id) Unique OCID identifier for the term version.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
termIdpublic TermVersion.Builder termId(String termId) The unique identifier for the term.- Parameters:
- termId- the value to set
- Returns:
- this builder
 
 - 
termAuthorpublic TermVersion.Builder termAuthor(Term.Author termAuthor) Who authored the term.Publisher terms will be defaulted to ‘PARTNER’. - Parameters:
- termAuthor- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TermVersion.Builder displayName(String displayName) The name for the term version.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic TermVersion.Builder compartmentId(String compartmentId) The unique identifier for the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
attachmentpublic TermVersion.Builder attachment(TermVersionAttachment attachment) 
 - 
statuspublic TermVersion.Builder status(TermVersion.Status status) The current status for the term version.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
authorpublic TermVersion.Builder author(Term.Author author) Who authored the term.Publisher terms will be defaulted to ‘PARTNER’. - Parameters:
- author- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TermVersion.Builder lifecycleState(TermVersion.LifecycleState lifecycleState) The current state for the term version.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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 - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic TermVersion build() 
 - 
copypublic TermVersion.Builder copy(TermVersion model) 
 
- 
 
-