AgentStateSource Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. AgentStateSource
- com.
- com.
public final class AgentStateSource
extends ExpandableStringEnum<AgentStateSource>
Indicates the source of an agent's operational state. Empty when the state is not derived from a specific source.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Agent |
AGENT_BLUEPRINT
The state is derived from the agent's blueprint. |
|
static final
Agent |
AGENT_INSTANCE_IDENTITY
The state is derived from the agent's instance identity. |
Constructor Summary
| Constructor | Description |
|---|---|
| AgentStateSource() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromString(String name)
Creates or finds a Agent |
|
static
Collection<Agent |
values()
Gets known Agent |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AGENT_BLUEPRINT
public static final AgentStateSource AGENT_BLUEPRINT
The state is derived from the agent's blueprint.
AGENT_INSTANCE_IDENTITY
public static final AgentStateSource AGENT_INSTANCE_IDENTITY
The state is derived from the agent's instance identity.
Constructor Details
AgentStateSource
@Deprecated
public AgentStateSource()
Deprecated
Creates a new instance of AgentStateSource value.
Method Details
fromString
public static AgentStateSource fromString(String name)
Creates or finds a AgentStateSource from its string representation.
Parameters:
Returns:
values
public static Collection<AgentStateSource> values()
Gets known AgentStateSource values.
Returns: