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