Class AgentVersionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.AgentVersionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>
@Generated("software.amazon.awssdk:codegen") public final class AgentVersionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>
Contains details about a version of an agent.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAgentVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentName()The name of the agent to which the version belongs.AgentStatusagentStatus()The status of the agent to which the version belongs.StringagentStatusAsString()The status of the agent to which the version belongs.StringagentVersion()The version of the agent.static AgentVersionSummary.Builderbuilder()InstantcreatedAt()The time at which the version was created.Stringdescription()The description of the version 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()List<SdkField<?>>sdkFields()static Class<? extends AgentVersionSummary.Builder>serializableBuilderClass()AgentVersionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time at which the version 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
-
agentName
public final String agentName()
The name of the agent to which the version belongs.
- Returns:
- The name of the agent to which the version belongs.
-
agentStatus
public final AgentStatus agentStatus()
The status of the agent to which the version belongs.
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 to which the version belongs.
- See Also:
AgentStatus
-
agentStatusAsString
public final String agentStatusAsString()
The status of the agent to which the version belongs.
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 to which the version belongs.
- See Also:
AgentStatus
-
agentVersion
public final String agentVersion()
The version of the agent.
- Returns:
- The version of the agent.
-
createdAt
public final Instant createdAt()
The time at which the version was created.
- Returns:
- The time at which the version was created.
-
description
public final String description()
The description of the version of the agent.
- Returns:
- The description of the version 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.
-
updatedAt
public final Instant updatedAt()
The time at which the version was last updated.
- Returns:
- The time at which the version was last updated.
-
toBuilder
public AgentVersionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentVersionSummary.Builder,AgentVersionSummary>
-
builder
public static AgentVersionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AgentVersionSummary.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.
-
-