Interface ListExportsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListExportsResponse.Builder,ListExportsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListExportsResponse.Builder,ListExportsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListExportsResponse
public static interface ListExportsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListExportsResponse.Builder,ListExportsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListExportsResponse.BuilderbotId(String botId)The unique identifier assigned to the bot by Amazon Lex.ListExportsResponse.BuilderbotVersion(String botVersion)The version of the bot that was exported.ListExportsResponse.BuilderexportSummaries(Collection<ExportSummary> exportSummaries)Summary information for the exports that meet the filter criteria specified in the request.ListExportsResponse.BuilderexportSummaries(Consumer<ExportSummary.Builder>... exportSummaries)Summary information for the exports that meet the filter criteria specified in the request.ListExportsResponse.BuilderexportSummaries(ExportSummary... exportSummaries)Summary information for the exports that meet the filter criteria specified in the request.ListExportsResponse.BuilderlocaleId(String localeId)The locale specified in the request.ListExportsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListExportsoperation.-
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
ListExportsResponse.Builder botId(String botId)
The unique identifier assigned to the bot by Amazon Lex.
- Parameters:
botId- The unique identifier assigned to the bot by Amazon Lex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListExportsResponse.Builder botVersion(String botVersion)
The version of the bot that was exported.
- Parameters:
botVersion- The version of the bot that was exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportSummaries
ListExportsResponse.Builder exportSummaries(Collection<ExportSummary> exportSummaries)
Summary information for the exports that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter. If there are more exports available, thenextTokenfield contains a token to get the next page of results.- Parameters:
exportSummaries- Summary information for the exports that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter. If there are more exports 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.
-
exportSummaries
ListExportsResponse.Builder exportSummaries(ExportSummary... exportSummaries)
Summary information for the exports that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter. If there are more exports available, thenextTokenfield contains a token to get the next page of results.- Parameters:
exportSummaries- Summary information for the exports that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter. If there are more exports 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.
-
exportSummaries
ListExportsResponse.Builder exportSummaries(Consumer<ExportSummary.Builder>... exportSummaries)
Summary information for the exports 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 exports available, thenextTokenfield contains a token to get the next page of results.ExportSummary.Builderavoiding the need to create one manually viaExportSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#exportSummaries(List.) - Parameters:
exportSummaries- a consumer that will call methods onExportSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#exportSummaries(java.util.Collection)
-
nextToken
ListExportsResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListExportsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListExportsoperation 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 theListExportsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListExportsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListExportsResponse.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.
-
-