@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAgentKnowledgeBaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateAgentKnowledgeBaseRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateAgentKnowledgeBaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgentId()
The unique identifier of the agent with which you want to associate the knowledge base.
|
String |
getAgentVersion()
The version of the agent with which you want to associate the knowledge base.
|
String |
getDescription()
A description of what the agent should use the knowledge base for.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to associate with the agent.
|
String |
getKnowledgeBaseState()
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
int |
hashCode() |
void |
setAgentId(String agentId)
The unique identifier of the agent with which you want to associate the knowledge base.
|
void |
setAgentVersion(String agentVersion)
The version of the agent with which you want to associate the knowledge base.
|
void |
setDescription(String description)
A description of what the agent should use the knowledge base for.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to associate with the agent.
|
void |
setKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
String |
toString()
Returns a string representation of this object.
|
AssociateAgentKnowledgeBaseRequest |
withAgentId(String agentId)
The unique identifier of the agent with which you want to associate the knowledge base.
|
AssociateAgentKnowledgeBaseRequest |
withAgentVersion(String agentVersion)
The version of the agent with which you want to associate the knowledge base.
|
AssociateAgentKnowledgeBaseRequest |
withDescription(String description)
A description of what the agent should use the knowledge base for.
|
AssociateAgentKnowledgeBaseRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to associate with the agent.
|
AssociateAgentKnowledgeBaseRequest |
withKnowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
AssociateAgentKnowledgeBaseRequest |
withKnowledgeBaseState(String knowledgeBaseState)
Specifies whether to use the knowledge base or not when sending an InvokeAgent
request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAgentId(String agentId)
The unique identifier of the agent with which you want to associate the knowledge base.
agentId
- The unique identifier of the agent with which you want to associate the knowledge base.public String getAgentId()
The unique identifier of the agent with which you want to associate the knowledge base.
public AssociateAgentKnowledgeBaseRequest withAgentId(String agentId)
The unique identifier of the agent with which you want to associate the knowledge base.
agentId
- The unique identifier of the agent with which you want to associate the knowledge base.public void setAgentVersion(String agentVersion)
The version of the agent with which you want to associate the knowledge base.
agentVersion
- The version of the agent with which you want to associate the knowledge base.public String getAgentVersion()
The version of the agent with which you want to associate the knowledge base.
public AssociateAgentKnowledgeBaseRequest withAgentVersion(String agentVersion)
The version of the agent with which you want to associate the knowledge base.
agentVersion
- The version of the agent with which you want to associate the knowledge base.public void setDescription(String description)
A description of what the agent should use the knowledge base for.
description
- A description of what the agent should use the knowledge base for.public String getDescription()
A description of what the agent should use the knowledge base for.
public AssociateAgentKnowledgeBaseRequest withDescription(String description)
A description of what the agent should use the knowledge base for.
description
- A description of what the agent should use the knowledge base for.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to associate with the agent.
knowledgeBaseId
- The unique identifier of the knowledge base to associate with the agent.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to associate with the agent.
public AssociateAgentKnowledgeBaseRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to associate with the agent.
knowledgeBaseId
- The unique identifier of the knowledge base to associate with the agent.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 AssociateAgentKnowledgeBaseRequest 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 AssociateAgentKnowledgeBaseRequest 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 String toString()
toString
in class Object
Object.toString()
public AssociateAgentKnowledgeBaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()