Class Term.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.model.Term.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Term.Builderauthor(Term.Author author)Who authored the term.Termbuild()Term.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.Term.Buildercopy(Term model)Term.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Term.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Term.Builderid(String id)Unique OCID identifier for the term.Term.BuilderlifecycleState(Term.LifecycleState lifecycleState)The current state for the Term.Term.Buildername(String name)The name for the term.Term.BuilderpublisherId(String publisherId)The unique identifier for the publisher.Term.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Term.BuildertimeCreated(Date timeCreated)The date and time the term was created, in the format defined by RFC3339.Term.BuildertimeUpdated(Date timeUpdated)The date and time the term was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Term.Builder id(String id) Unique OCID identifier for the term.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic Term.Builder name(String name) The name for the term.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
authorpublic Term.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
 
 - 
compartmentIdpublic Term.Builder compartmentId(String compartmentId) The unique identifier for the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
publisherIdpublic Term.Builder publisherId(String publisherId) The unique identifier for the publisher.- Parameters:
- publisherId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Term.Builder lifecycleState(Term.LifecycleState lifecycleState) The current state for the Term.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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 - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Term build() 
 - 
copypublic Term.Builder copy(Term model) 
 
- 
 
-