Class AgentSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.AgentSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentSummary.Builder,AgentSummary>
@Generated("software.amazon.awssdk:codegen") public final class AgentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentSummary.Builder,AgentSummary>
Contains details about an agent.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAgentSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentId()The unique identifier of the agent.StringagentName()The name of the agent.AgentStatusagentStatus()The status of the agent.StringagentStatusAsString()The status of the agent.static AgentSummary.Builderbuilder()Stringdescription()The description of the agent.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GuardrailConfigurationguardrailConfiguration()Details about the guardrail associated with the agent.inthashCode()StringlatestAgentVersion()The latest version of the agent.List<SdkField<?>>sdkFields()static Class<? extends AgentSummary.Builder>serializableBuilderClass()AgentSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time at which the agent was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentId
public final String agentId()
The unique identifier of the agent.
- Returns:
- The unique identifier of the agent.
-
agentName
public final String agentName()
The name of the agent.
- Returns:
- The name of the agent.
-
agentStatus
public final AgentStatus agentStatus()
The status of the agent.
If the service returns an enum value that is not available in the current SDK version,
agentStatuswill returnAgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromagentStatusAsString().- Returns:
- The status of the agent.
- See Also:
AgentStatus
-
agentStatusAsString
public final String agentStatusAsString()
The status of the agent.
If the service returns an enum value that is not available in the current SDK version,
agentStatuswill returnAgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromagentStatusAsString().- Returns:
- The status of the agent.
- See Also:
AgentStatus
-
description
public final String description()
The description of the agent.
- Returns:
- The description of the agent.
-
guardrailConfiguration
public final GuardrailConfiguration guardrailConfiguration()
Details about the guardrail associated with the agent.
- Returns:
- Details about the guardrail associated with the agent.
-
latestAgentVersion
public final String latestAgentVersion()
The latest version of the agent.
- Returns:
- The latest version of the agent.
-
updatedAt
public final Instant updatedAt()
The time at which the agent was last updated.
- Returns:
- The time at which the agent was last updated.
-
toBuilder
public AgentSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentSummary.Builder,AgentSummary>
-
builder
public static AgentSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AgentSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-