@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAgentKnowledgeBaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAgentKnowledgeBaseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAgentKnowledgeBaseRequest |
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 associated with the knowledge base that you want to update.
|
String |
getAgentVersion()
The version of the agent associated with the knowledge base that you want to update.
|
String |
getDescription()
Specifies a new description for the knowledge base associated with an agent.
|
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base that has been associated with an agent.
|
String |
getKnowledgeBaseState()
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent
request.
|
int |
hashCode() |
void |
setAgentId(String agentId)
The unique identifier of the agent associated with the knowledge base that you want to update.
|
void |
setAgentVersion(String agentVersion)
The version of the agent associated with the knowledge base that you want to update.
|
void |
setDescription(String description)
Specifies a new description for the knowledge base associated with an agent.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that has been associated with an agent.
|
void |
setKnowledgeBaseState(String knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent
request.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAgentKnowledgeBaseRequest |
withAgentId(String agentId)
The unique identifier of the agent associated with the knowledge base that you want to update.
|
UpdateAgentKnowledgeBaseRequest |
withAgentVersion(String agentVersion)
The version of the agent associated with the knowledge base that you want to update.
|
UpdateAgentKnowledgeBaseRequest |
withDescription(String description)
Specifies a new description for the knowledge base associated with an agent.
|
UpdateAgentKnowledgeBaseRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that has been associated with an agent.
|
UpdateAgentKnowledgeBaseRequest |
withKnowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent
request.
|
UpdateAgentKnowledgeBaseRequest |
withKnowledgeBaseState(String knowledgeBaseState)
Specifies whether the agent uses 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 associated with the knowledge base that you want to update.
agentId
- The unique identifier of the agent associated with the knowledge base that you want to update.public String getAgentId()
The unique identifier of the agent associated with the knowledge base that you want to update.
public UpdateAgentKnowledgeBaseRequest withAgentId(String agentId)
The unique identifier of the agent associated with the knowledge base that you want to update.
agentId
- The unique identifier of the agent associated with the knowledge base that you want to update.public void setAgentVersion(String agentVersion)
The version of the agent associated with the knowledge base that you want to update.
agentVersion
- The version of the agent associated with the knowledge base that you want to update.public String getAgentVersion()
The version of the agent associated with the knowledge base that you want to update.
public UpdateAgentKnowledgeBaseRequest withAgentVersion(String agentVersion)
The version of the agent associated with the knowledge base that you want to update.
agentVersion
- The version of the agent associated with the knowledge base that you want to update.public void setDescription(String description)
Specifies a new description for the knowledge base associated with an agent.
description
- Specifies a new description for the knowledge base associated with an agent.public String getDescription()
Specifies a new description for the knowledge base associated with an agent.
public UpdateAgentKnowledgeBaseRequest withDescription(String description)
Specifies a new description for the knowledge base associated with an agent.
description
- Specifies a new description for the knowledge base associated with an agent.public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that has been associated with an agent.
knowledgeBaseId
- The unique identifier of the knowledge base that has been associated with an agent.public String getKnowledgeBaseId()
The unique identifier of the knowledge base that has been associated with an agent.
public UpdateAgentKnowledgeBaseRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that has been associated with an agent.
knowledgeBaseId
- The unique identifier of the knowledge base that has been associated with an agent.public void setKnowledgeBaseState(String knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public String getKnowledgeBaseState()
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
KnowledgeBaseState
public UpdateAgentKnowledgeBaseRequest withKnowledgeBaseState(String knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public UpdateAgentKnowledgeBaseRequest withKnowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
knowledgeBaseState
- Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.KnowledgeBaseState
public String toString()
toString
in class Object
Object.toString()
public UpdateAgentKnowledgeBaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()