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