Class AgentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.AgentSummary.Builder
-
- Enclosing class:
- AgentSummary
public static class AgentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentSummary
build()
AgentSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.AgentSummary.Builder
copy(AgentSummary model)
AgentSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AgentSummary.Builder
description(String description)
Description about the agent.AgentSummary.Builder
displayName(String displayName)
A user-friendly name.AgentSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.AgentSummary.Builder
id(String id)
The OCID of the Agent.AgentSummary.Builder
knowledgeBaseIds(List<String> knowledgeBaseIds)
List of OCID of the knowledgeBases associated with agent.AgentSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the agent in more detail.AgentSummary.Builder
lifecycleState(Agent.LifecycleState lifecycleState)
The current state of the agent.AgentSummary.Builder
llmConfig(LlmConfig llmConfig)
AgentSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.AgentSummary.Builder
timeCreated(Date timeCreated)
The date and time the agent was created, in the format defined by RFC 3339.AgentSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the agent was updated, in the format defined by RFC 3339.AgentSummary.Builder
welcomeMessage(String welcomeMessage)
Details about purpose and responsibility of the agent
-
-
-
Method Detail
-
id
public AgentSummary.Builder id(String id)
The OCID of the Agent.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public AgentSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public AgentSummary.Builder description(String description)
Description about the agent.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public AgentSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
knowledgeBaseIds
public AgentSummary.Builder knowledgeBaseIds(List<String> knowledgeBaseIds)
List of OCID of the knowledgeBases associated with agent.This field is deprecated and will be removed after March 26 2026.
- Parameters:
knowledgeBaseIds
- the value to set- Returns:
- this builder
-
welcomeMessage
public AgentSummary.Builder welcomeMessage(String welcomeMessage)
Details about purpose and responsibility of the agent- Parameters:
welcomeMessage
- the value to set- Returns:
- this builder
-
llmConfig
public AgentSummary.Builder llmConfig(LlmConfig llmConfig)
-
timeCreated
public AgentSummary.Builder timeCreated(Date timeCreated)
The date and time the agent was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public AgentSummary.Builder timeUpdated(Date timeUpdated)
The date and time the agent was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public AgentSummary.Builder lifecycleState(Agent.LifecycleState lifecycleState)
The current state of the agent.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AgentSummary.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the agent in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public AgentSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public AgentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public AgentSummary.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 AgentSummary build()
-
copy
public AgentSummary.Builder copy(AgentSummary model)
-
-