public class ListBotsRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to returns both Amazon Lex V1 and V2 bots.
| Constructor and Description |
|---|
ListBotsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getLexVersion()
The version of Amazon Lex or Amazon Lex V2.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLexVersion(LexVersion lexVersion)
The version of Amazon Lex or Amazon Lex V2.
|
void |
setLexVersion(java.lang.String lexVersion)
The version of Amazon Lex or Amazon Lex V2.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListBotsRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ListBotsRequest |
withLexVersion(LexVersion lexVersion)
The version of Amazon Lex or Amazon Lex V2.
|
ListBotsRequest |
withLexVersion(java.lang.String lexVersion)
The version of Amazon Lex or Amazon Lex V2.
|
ListBotsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
ListBotsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public ListBotsRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListBotsRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return per page.
Constraints:
Range: 1 - 25
The maximum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Constraints:
Range: 1 - 25
maxResults - The maximum number of results to return per page.
public ListBotsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 25
maxResults - The maximum number of results to return per page.
public java.lang.String getLexVersion()
The version of Amazon Lex or Amazon Lex V2.
Constraints:
Allowed Values: V1, V2
The version of Amazon Lex or Amazon Lex V2.
LexVersionpublic void setLexVersion(java.lang.String lexVersion)
The version of Amazon Lex or Amazon Lex V2.
Constraints:
Allowed Values: V1, V2
lexVersion - The version of Amazon Lex or Amazon Lex V2.
LexVersionpublic ListBotsRequest withLexVersion(java.lang.String lexVersion)
The version of Amazon Lex or Amazon Lex V2.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: V1, V2
lexVersion - The version of Amazon Lex or Amazon Lex V2.
LexVersionpublic void setLexVersion(LexVersion lexVersion)
The version of Amazon Lex or Amazon Lex V2.
Constraints:
Allowed Values: V1, V2
lexVersion - The version of Amazon Lex or Amazon Lex V2.
LexVersionpublic ListBotsRequest withLexVersion(LexVersion lexVersion)
The version of Amazon Lex or Amazon Lex V2.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: V1, V2
lexVersion - The version of Amazon Lex or Amazon Lex V2.
LexVersionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object