@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentVersion extends Object implements Serializable, Cloneable, StructuredPojo
Contains the information of an agent version.
Constructor and Description |
---|
AgentVersion() |
public void setAgentId(String agentId)
agentId
- public String getAgentId()
public AgentVersion withAgentId(String agentId)
agentId
- public void setAgentName(String agentName)
agentName
- public String getAgentName()
public AgentVersion withAgentName(String agentName)
agentName
- public void setAgentArn(String agentArn)
agentArn
- public String getAgentArn()
public AgentVersion withAgentArn(String agentArn)
agentArn
- public void setVersion(String version)
version
- public String getVersion()
public AgentVersion withVersion(String version)
version
- public void setInstruction(String instruction)
instruction
- public String getInstruction()
public AgentVersion withInstruction(String instruction)
instruction
- public void setAgentStatus(String agentStatus)
agentStatus
- AgentStatus
public String getAgentStatus()
AgentStatus
public AgentVersion withAgentStatus(String agentStatus)
agentStatus
- AgentStatus
public AgentVersion withAgentStatus(AgentStatus agentStatus)
agentStatus
- AgentStatus
public void setFoundationModel(String foundationModel)
foundationModel
- public String getFoundationModel()
public AgentVersion withFoundationModel(String foundationModel)
foundationModel
- public void setDescription(String description)
description
- public String getDescription()
public AgentVersion withDescription(String description)
description
- public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
idleSessionTTLInSeconds
- public Integer getIdleSessionTTLInSeconds()
public AgentVersion withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
idleSessionTTLInSeconds
- public void setAgentResourceRoleArn(String agentResourceRoleArn)
agentResourceRoleArn
- public String getAgentResourceRoleArn()
public AgentVersion withAgentResourceRoleArn(String agentResourceRoleArn)
agentResourceRoleArn
- public void setCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
customerEncryptionKeyArn
- public String getCustomerEncryptionKeyArn()
public AgentVersion withCustomerEncryptionKeyArn(String customerEncryptionKeyArn)
customerEncryptionKeyArn
- public void setCreatedAt(Date createdAt)
createdAt
- public Date getCreatedAt()
public AgentVersion withCreatedAt(Date createdAt)
createdAt
- public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public AgentVersion withUpdatedAt(Date updatedAt)
updatedAt
- public void setFailureReasons(Collection<String> failureReasons)
failureReasons
- public AgentVersion withFailureReasons(String... failureReasons)
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- public AgentVersion withFailureReasons(Collection<String> failureReasons)
failureReasons
- public void setRecommendedActions(Collection<String> recommendedActions)
recommendedActions
- public AgentVersion withRecommendedActions(String... recommendedActions)
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedActions(java.util.Collection)
or withRecommendedActions(java.util.Collection)
if
you want to override the existing values.
recommendedActions
- public AgentVersion withRecommendedActions(Collection<String> recommendedActions)
recommendedActions
- public void setPromptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)
promptOverrideConfiguration
- public PromptOverrideConfiguration getPromptOverrideConfiguration()
public AgentVersion withPromptOverrideConfiguration(PromptOverrideConfiguration promptOverrideConfiguration)
promptOverrideConfiguration
- public String toString()
toString
in class Object
Object.toString()
public AgentVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.