Package com.oracle.bmc.adm.model
Class KnowledgeBase.Builder
- java.lang.Object
- 
- com.oracle.bmc.adm.model.KnowledgeBase.Builder
 
- 
- Enclosing class:
- KnowledgeBase
 
 public static class KnowledgeBase.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KnowledgeBasebuild()KnowledgeBase.BuildercompartmentId(String compartmentId)The compartment Oracle Cloud Identifier (OCID) of the knowledge base.KnowledgeBase.Buildercopy(KnowledgeBase model)KnowledgeBase.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.KnowledgeBase.BuilderdisplayName(String displayName)The name of the knowledge base.KnowledgeBase.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.KnowledgeBase.Builderid(String id)The Oracle Cloud Identifier (OCID) of the knowledge base.KnowledgeBase.BuilderlifecycleState(KnowledgeBase.LifecycleState lifecycleState)The current lifecycle state of the knowledge base.KnowledgeBase.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.KnowledgeBase.BuildertimeCreated(Date timeCreated)The creation date and time of the knowledge base (formatted according to RFC3339).KnowledgeBase.BuildertimeUpdated(Date timeUpdated)The date and time the knowledge base was last updated (formatted according to RFC3339).
 
- 
- 
- 
Method Detail- 
idpublic KnowledgeBase.Builder id(String id) The Oracle Cloud Identifier (OCID) of the knowledge base.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic KnowledgeBase.Builder displayName(String displayName) The name of the knowledge base.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic KnowledgeBase.Builder timeCreated(Date timeCreated) The creation date and time of the knowledge base (formatted according to RFC3339).- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic KnowledgeBase.Builder timeUpdated(Date timeUpdated) The date and time the knowledge base was last updated (formatted according to RFC3339).- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic KnowledgeBase.Builder lifecycleState(KnowledgeBase.LifecycleState lifecycleState) The current lifecycle state of the knowledge base.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic KnowledgeBase.Builder compartmentId(String compartmentId) The compartment Oracle Cloud Identifier (OCID) of the knowledge base.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic KnowledgeBase.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 KnowledgeBase.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 KnowledgeBase.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic KnowledgeBase build() 
 - 
copypublic KnowledgeBase.Builder copy(KnowledgeBase model) 
 
- 
 
-