public static class KnowledgeBase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
build() |
KnowledgeBase.Builder |
compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier
(OCID) of the
knowledge base.
|
KnowledgeBase.Builder |
copy(KnowledgeBase model) |
KnowledgeBase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
KnowledgeBase.Builder |
displayName(String displayName)
The name of the knowledge base.
|
KnowledgeBase.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
KnowledgeBase.Builder |
id(String id)
The Oracle Cloud Identifier
(OCID) of the
knowledge base.
|
KnowledgeBase.Builder |
lifecycleState(KnowledgeBase.LifecycleState lifecycleState)
The current lifecycle state of the knowledge base.
|
KnowledgeBase.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
KnowledgeBase.Builder |
timeCreated(Date timeCreated)
The creation date and time of the knowledge base (formatted according to
RFC3339).
|
KnowledgeBase.Builder |
timeUpdated(Date timeUpdated)
The date and time the knowledge base was last updated (formatted according to
RFC3339).
|
public KnowledgeBase.Builder id(String id)
The Oracle Cloud Identifier (OCID) of the knowledge base.
id
- the value to setpublic KnowledgeBase.Builder displayName(String displayName)
The name of the knowledge base.
displayName
- the value to setpublic KnowledgeBase.Builder timeCreated(Date timeCreated)
The creation date and time of the knowledge base (formatted according to RFC3339).
timeCreated
- the value to setpublic KnowledgeBase.Builder timeUpdated(Date timeUpdated)
The date and time the knowledge base was last updated (formatted according to RFC3339).
timeUpdated
- the value to setpublic KnowledgeBase.Builder lifecycleState(KnowledgeBase.LifecycleState lifecycleState)
The current lifecycle state of the knowledge base.
lifecycleState
- the value to setpublic KnowledgeBase.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the knowledge base.
compartmentId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic KnowledgeBase build()
public KnowledgeBase.Builder copy(KnowledgeBase model)
Copyright © 2016–2024. All rights reserved.