@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentKnowledgeBase extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a knowledge base that is associated with an agent.
Constructor and Description |
---|
AgentKnowledgeBase() |
Modifier and Type | Method and Description |
---|---|
AgentKnowledgeBase |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The unique identifier of the agent with which the knowledge base is associated.
|
String |
getAgentVersion()
The version of the agent with which the knowledge base is associated.
|
Date |
getCreatedAt()
The time at which the association between the agent and the knowledge base was created.
|
String |
getDescription()
The description of the association between the agent and the knowledge base.
|
String |
getKnowledgeBaseId()
The unique identifier of the association between the agent and the knowledge base.
|
String |
getKnowledgeBaseState()
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
Date |
getUpdatedAt()
The time at which the association between the agent and the knowledge base was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentId(String agentId)
The unique identifier of the agent with which the knowledge base is associated.
|
void |
setAgentVersion(String agentVersion)
The version of the agent with which the knowledge base is associated.
|
void |
setCreatedAt(Date createdAt)
The time at which the association between the agent and the knowledge base was created.
|
void |
setDescription(String description)
The description of the association between the agent and the knowledge base.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the association between the agent and the knowledge base.
|
void |
setKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the association between the agent and the knowledge base was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AgentKnowledgeBase |
withAgentId(String agentId)
The unique identifier of the agent with which the knowledge base is associated.
|
AgentKnowledgeBase |
withAgentVersion(String agentVersion)
The version of the agent with which the knowledge base is associated.
|
AgentKnowledgeBase |
withCreatedAt(Date createdAt)
The time at which the association between the agent and the knowledge base was created.
|
AgentKnowledgeBase |
withDescription(String description)
The description of the association between the agent and the knowledge base.
|
AgentKnowledgeBase |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the association between the agent and the knowledge base.
|
AgentKnowledgeBase |
withKnowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
AgentKnowledgeBase |
withKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
AgentKnowledgeBase |
withUpdatedAt(Date updatedAt)
The time at which the association between the agent and the knowledge base was last updated.
|
public void setAgentId(String agentId)
The unique identifier of the agent with which the knowledge base is associated.
agentId
- The unique identifier of the agent with which the knowledge base is associated.public String getAgentId()
The unique identifier of the agent with which the knowledge base is associated.
public AgentKnowledgeBase withAgentId(String agentId)
The unique identifier of the agent with which the knowledge base is associated.
agentId
- The unique identifier of the agent with which the knowledge base is associated.public void setAgentVersion(String agentVersion)
The version of the agent with which the knowledge base is associated.
agentVersion
- The version of the agent with which the knowledge base is associated.public String getAgentVersion()
The version of the agent with which the knowledge base is associated.
public AgentKnowledgeBase withAgentVersion(String agentVersion)
The version of the agent with which the knowledge base is associated.
agentVersion
- The version of the agent with which the knowledge base is associated.public void setCreatedAt(Date createdAt)
The time at which the association between the agent and the knowledge base was created.
createdAt
- The time at which the association between the agent and the knowledge base was created.public Date getCreatedAt()
The time at which the association between the agent and the knowledge base was created.
public AgentKnowledgeBase withCreatedAt(Date createdAt)
The time at which the association between the agent and the knowledge base was created.
createdAt
- The time at which the association between the agent and the knowledge base was created.public void setDescription(String description)
The description of the association between the agent and the knowledge base.
description
- The description of the association between the agent and the knowledge base.public String getDescription()
The description of the association between the agent and the knowledge base.
public AgentKnowledgeBase withDescription(String description)
The description of the association between the agent and the knowledge base.
description
- The description of the association between the agent and the knowledge base.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the association between the agent and the knowledge base.
knowledgeBaseId
- The unique identifier of the association between the agent and the knowledge base.public String getKnowledgeBaseId()
The unique identifier of the association between the agent and the knowledge base.
public AgentKnowledgeBase withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the association between the agent and the knowledge base.
knowledgeBaseId
- The unique identifier of the association between the agent and the knowledge base.public void setKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public String getKnowledgeBaseState()
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
KnowledgeBaseState
public AgentKnowledgeBase withKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public AgentKnowledgeBase withKnowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public void setUpdatedAt(Date updatedAt)
The time at which the association between the agent and the knowledge base was last updated.
updatedAt
- The time at which the association between the agent and the knowledge base was last updated.public Date getUpdatedAt()
The time at which the association between the agent and the knowledge base was last updated.
public AgentKnowledgeBase withUpdatedAt(Date updatedAt)
The time at which the association between the agent and the knowledge base was last updated.
updatedAt
- The time at which the association between the agent and the knowledge base was last updated.public String toString()
toString
in class Object
Object.toString()
public AgentKnowledgeBase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.