@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImportsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListImportsResult() |
Modifier and Type | Method and Description |
---|---|
ListImportsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier assigned by Amazon Lex to the bot.
|
String |
getBotVersion()
The version of the bot that was imported.
|
List<ImportSummary> |
getImportSummaries()
Summary information for the imports that meet the filter criteria specified in the request.
|
String |
getLocaleId()
The locale specified in the request.
|
String |
getNextToken()
A token that indicates whether there are more results to return in a response to the
ListImports
operation. |
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier assigned by Amazon Lex to the bot.
|
void |
setBotVersion(String botVersion)
The version of the bot that was imported.
|
void |
setImportSummaries(Collection<ImportSummary> importSummaries)
Summary information for the imports that meet the filter criteria specified in the request.
|
void |
setLocaleId(String localeId)
The locale specified in the request.
|
void |
setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListImports
operation. |
String |
toString()
Returns a string representation of this object.
|
ListImportsResult |
withBotId(String botId)
The unique identifier assigned by Amazon Lex to the bot.
|
ListImportsResult |
withBotVersion(String botVersion)
The version of the bot that was imported.
|
ListImportsResult |
withImportSummaries(Collection<ImportSummary> importSummaries)
Summary information for the imports that meet the filter criteria specified in the request.
|
ListImportsResult |
withImportSummaries(ImportSummary... importSummaries)
Summary information for the imports that meet the filter criteria specified in the request.
|
ListImportsResult |
withLocaleId(String localeId)
The locale specified in the request.
|
ListImportsResult |
withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListImports
operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The unique identifier assigned by Amazon Lex to the bot.
botId
- The unique identifier assigned by Amazon Lex to the bot.public String getBotId()
The unique identifier assigned by Amazon Lex to the bot.
public ListImportsResult withBotId(String botId)
The unique identifier assigned by Amazon Lex to the bot.
botId
- The unique identifier assigned by Amazon Lex to the bot.public void setBotVersion(String botVersion)
The version of the bot that was imported. It will always be DRAFT
.
botVersion
- The version of the bot that was imported. It will always be DRAFT
.public String getBotVersion()
The version of the bot that was imported. It will always be DRAFT
.
DRAFT
.public ListImportsResult withBotVersion(String botVersion)
The version of the bot that was imported. It will always be DRAFT
.
botVersion
- The version of the bot that was imported. It will always be DRAFT
.public List<ImportSummary> getImportSummaries()
Summary information for the imports that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.
maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.public void setImportSummaries(Collection<ImportSummary> importSummaries)
Summary information for the imports that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.
importSummaries
- Summary information for the imports that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.public ListImportsResult withImportSummaries(ImportSummary... importSummaries)
Summary information for the imports that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter. If there are more imports 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
setImportSummaries(java.util.Collection)
or withImportSummaries(java.util.Collection)
if you
want to override the existing values.
importSummaries
- Summary information for the imports that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.public ListImportsResult withImportSummaries(Collection<ImportSummary> importSummaries)
Summary information for the imports that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter. If there are more imports available, the
nextToken
field contains a token to get the next page of results.
importSummaries
- Summary information for the imports that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter. If there are more imports 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 ListImports
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListImports
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
ListImports
operation. If the nextToken
field is present, you send the contents
as the nextToken
parameter of a ListImports
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 ListImports
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListImports
operation request to get the next page of results.
ListImports
operation. If the nextToken
field is present, you send the contents
as the nextToken
parameter of a ListImports
operation request to get the next
page of results.public ListImportsResult withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListImports
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListImports
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
ListImports
operation. If the nextToken
field is present, you send the contents
as the nextToken
parameter of a ListImports
operation request to get the next
page of results.public void setLocaleId(String localeId)
The locale specified in the request.
localeId
- The locale specified in the request.public String getLocaleId()
The locale specified in the request.
public ListImportsResult withLocaleId(String localeId)
The locale specified in the request.
localeId
- The locale specified in the request.public String toString()
toString
in class Object
Object.toString()
public ListImportsResult clone()