Interface ListImportsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListImportsResponse.Builder,ListImportsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListImportsResponse.Builder,ListImportsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListImportsResponse
public static interface ListImportsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListImportsResponse.Builder,ListImportsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListImportsResponse.BuilderbotId(String botId)The unique identifier assigned by Amazon Lex to the bot.ListImportsResponse.BuilderbotVersion(String botVersion)The version of the bot that was imported.ListImportsResponse.BuilderimportSummaries(Collection<ImportSummary> importSummaries)Summary information for the imports that meet the filter criteria specified in the request.ListImportsResponse.BuilderimportSummaries(Consumer<ImportSummary.Builder>... importSummaries)Summary information for the imports that meet the filter criteria specified in the request.ListImportsResponse.BuilderimportSummaries(ImportSummary... importSummaries)Summary information for the imports that meet the filter criteria specified in the request.ListImportsResponse.BuilderlocaleId(String localeId)The locale specified in the request.ListImportsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListImportsoperation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botId
ListImportsResponse.Builder botId(String botId)
The unique identifier assigned by Amazon Lex to the bot.
- Parameters:
botId- The unique identifier assigned by Amazon Lex to the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListImportsResponse.Builder botVersion(String botVersion)
The version of the bot that was imported. It will always be
DRAFT.- Parameters:
botVersion- The version of the bot that was imported. It will always beDRAFT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSummaries
ListImportsResponse.Builder importSummaries(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
maxResultsparameter. If there are more imports available, thenextTokenfield contains a token to get the next page of results.- Parameters:
importSummaries- Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter. If there are more imports available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSummaries
ListImportsResponse.Builder importSummaries(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
maxResultsparameter. If there are more imports available, thenextTokenfield contains a token to get the next page of results.- Parameters:
importSummaries- Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter. If there are more imports available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSummaries
ListImportsResponse.Builder importSummaries(Consumer<ImportSummary.Builder>... importSummaries)
Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResultsparameter. If there are more imports available, thenextTokenfield contains a token to get the next page of results.ImportSummary.Builderavoiding the need to create one manually viaImportSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#importSummaries(List.) - Parameters:
importSummaries- a consumer that will call methods onImportSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#importSummaries(java.util.Collection)
-
nextToken
ListImportsResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListImportsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListImportsoperation request to get the next page of results.- Parameters:
nextToken- A token that indicates whether there are more results to return in a response to theListImportsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListImportsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListImportsResponse.Builder localeId(String localeId)
The locale specified in the request.
- Parameters:
localeId- The locale specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-