@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentVersionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a version of an agent.
Constructor and Description |
---|
AgentVersionSummary() |
Modifier and Type | Method and Description |
---|---|
AgentVersionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAgentName()
The name of the agent to which the version belongs.
|
String |
getAgentStatus()
The status of the agent to which the version belongs.
|
String |
getAgentVersion()
The version of the agent.
|
Date |
getCreatedAt()
The time at which the version was created.
|
String |
getDescription()
The description of the version of the agent.
|
GuardrailConfiguration |
getGuardrailConfiguration()
Details about the guardrail associated with the agent.
|
Date |
getUpdatedAt()
The time at which the version was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentName(String agentName)
The name of the agent to which the version belongs.
|
void |
setAgentStatus(String agentStatus)
The status of the agent to which the version belongs.
|
void |
setAgentVersion(String agentVersion)
The version of the agent.
|
void |
setCreatedAt(Date createdAt)
The time at which the version was created.
|
void |
setDescription(String description)
The description of the version of the agent.
|
void |
setGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration)
Details about the guardrail associated with the agent.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the version was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AgentVersionSummary |
withAgentName(String agentName)
The name of the agent to which the version belongs.
|
AgentVersionSummary |
withAgentStatus(AgentStatus agentStatus)
The status of the agent to which the version belongs.
|
AgentVersionSummary |
withAgentStatus(String agentStatus)
The status of the agent to which the version belongs.
|
AgentVersionSummary |
withAgentVersion(String agentVersion)
The version of the agent.
|
AgentVersionSummary |
withCreatedAt(Date createdAt)
The time at which the version was created.
|
AgentVersionSummary |
withDescription(String description)
The description of the version of the agent.
|
AgentVersionSummary |
withGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration)
Details about the guardrail associated with the agent.
|
AgentVersionSummary |
withUpdatedAt(Date updatedAt)
The time at which the version was last updated.
|
public void setAgentName(String agentName)
The name of the agent to which the version belongs.
agentName
- The name of the agent to which the version belongs.public String getAgentName()
The name of the agent to which the version belongs.
public AgentVersionSummary withAgentName(String agentName)
The name of the agent to which the version belongs.
agentName
- The name of the agent to which the version belongs.public void setAgentStatus(String agentStatus)
The status of the agent to which the version belongs.
agentStatus
- The status of the agent to which the version belongs.AgentStatus
public String getAgentStatus()
The status of the agent to which the version belongs.
AgentStatus
public AgentVersionSummary withAgentStatus(String agentStatus)
The status of the agent to which the version belongs.
agentStatus
- The status of the agent to which the version belongs.AgentStatus
public AgentVersionSummary withAgentStatus(AgentStatus agentStatus)
The status of the agent to which the version belongs.
agentStatus
- The status of the agent to which the version belongs.AgentStatus
public void setAgentVersion(String agentVersion)
The version of the agent.
agentVersion
- The version of the agent.public String getAgentVersion()
The version of the agent.
public AgentVersionSummary withAgentVersion(String agentVersion)
The version of the agent.
agentVersion
- The version of the agent.public void setCreatedAt(Date createdAt)
The time at which the version was created.
createdAt
- The time at which the version was created.public Date getCreatedAt()
The time at which the version was created.
public AgentVersionSummary withCreatedAt(Date createdAt)
The time at which the version was created.
createdAt
- The time at which the version was created.public void setDescription(String description)
The description of the version of the agent.
description
- The description of the version of the agent.public String getDescription()
The description of the version of the agent.
public AgentVersionSummary withDescription(String description)
The description of the version of the agent.
description
- The description of the version of the agent.public void setGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration)
Details about the guardrail associated with the agent.
guardrailConfiguration
- Details about the guardrail associated with the agent.public GuardrailConfiguration getGuardrailConfiguration()
Details about the guardrail associated with the agent.
public AgentVersionSummary withGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration)
Details about the guardrail associated with the agent.
guardrailConfiguration
- Details about the guardrail associated with the agent.public void setUpdatedAt(Date updatedAt)
The time at which the version was last updated.
updatedAt
- The time at which the version was last updated.public Date getUpdatedAt()
The time at which the version was last updated.
public AgentVersionSummary withUpdatedAt(Date updatedAt)
The time at which the version was last updated.
updatedAt
- The time at which the version was last updated.public String toString()
toString
in class Object
Object.toString()
public AgentVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.