@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListBotVersionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListBotVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to list versions for.
|
List<BotVersionSummary> |
getBotVersionSummaries()
Summary information for the bot versions that meet the filter criteria specified in the request.
|
String |
getNextToken()
A token that indicates whether there are more results to return in a response to the
ListBotVersions
operation. |
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to list versions for.
|
void |
setBotVersionSummaries(Collection<BotVersionSummary> botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request.
|
void |
setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotVersions
operation. |
String |
toString()
Returns a string representation of this object.
|
ListBotVersionsResult |
withBotId(String botId)
The identifier of the bot to list versions for.
|
ListBotVersionsResult |
withBotVersionSummaries(BotVersionSummary... botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request.
|
ListBotVersionsResult |
withBotVersionSummaries(Collection<BotVersionSummary> botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request.
|
ListBotVersionsResult |
withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotVersions
operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setBotId(String botId)
The identifier of the bot to list versions for.
botId - The identifier of the bot to list versions for.public String getBotId()
The identifier of the bot to list versions for.
public ListBotVersionsResult withBotId(String botId)
The identifier of the bot to list versions for.
botId - The identifier of the bot to list versions for.public List<BotVersionSummary> getBotVersionSummaries()
Summary information for the bot versions that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults parameter of the request. If there are more versions
available, the nextToken field contains a token to get the next page of results.
maxResults parameter of the request. If there are
more versions available, the nextToken field contains a token to get the next page of
results.public void setBotVersionSummaries(Collection<BotVersionSummary> botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults parameter of the request. If there are more versions
available, the nextToken field contains a token to get the next page of results.
botVersionSummaries - Summary information for the bot versions that meet the filter criteria specified in the request. The
length of the list is specified in the maxResults parameter of the request. If there are more
versions available, the nextToken field contains a token to get the next page of results.public ListBotVersionsResult withBotVersionSummaries(BotVersionSummary... botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults parameter of the request. If there are more versions
available, the nextToken field contains a token to get the next page of results.
NOTE: This method appends the values to the existing list (if any). Use
setBotVersionSummaries(java.util.Collection) or withBotVersionSummaries(java.util.Collection)
if you want to override the existing values.
botVersionSummaries - Summary information for the bot versions that meet the filter criteria specified in the request. The
length of the list is specified in the maxResults parameter of the request. If there are more
versions available, the nextToken field contains a token to get the next page of results.public ListBotVersionsResult withBotVersionSummaries(Collection<BotVersionSummary> botVersionSummaries)
Summary information for the bot versions that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults parameter of the request. If there are more versions
available, the nextToken field contains a token to get the next page of results.
botVersionSummaries - Summary information for the bot versions that meet the filter criteria specified in the request. The
length of the list is specified in the maxResults parameter of the request. If there are more
versions available, the nextToken field contains a token to get the next page of results.public void setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken field is present, you send the contents as the nextToken
parameter of a ListBotAliases operation request to get the next page of results.
nextToken - A token that indicates whether there are more results to return in a response to the
ListBotVersions operation. If the nextToken field is present, you send the
contents as the nextToken parameter of a ListBotAliases operation request to get
the next page of results.public String getNextToken()
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken field is present, you send the contents as the nextToken
parameter of a ListBotAliases operation request to get the next page of results.
ListBotVersions operation. If the nextToken field is present, you send the
contents as the nextToken parameter of a ListBotAliases operation request to
get the next page of results.public ListBotVersionsResult withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken field is present, you send the contents as the nextToken
parameter of a ListBotAliases operation request to get the next page of results.
nextToken - A token that indicates whether there are more results to return in a response to the
ListBotVersions operation. If the nextToken field is present, you send the
contents as the nextToken parameter of a ListBotAliases operation request to get
the next page of results.public String toString()
toString in class ObjectObject.toString()public ListBotVersionsResult clone()