Interface ListIntentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIntentsResponse.Builder,
,ListIntentsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListIntentsResponse.Builder,
,ListIntentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIntentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the intent.botVersion
(String botVersion) The version of the bot that contains the intent.intentSummaries
(Collection<IntentSummary> intentSummaries) Summary information for the intents that meet the filter criteria specified in the request.intentSummaries
(Consumer<IntentSummary.Builder>... intentSummaries) Summary information for the intents that meet the filter criteria specified in the request.intentSummaries
(IntentSummary... intentSummaries) Summary information for the intents that meet the filter criteria specified in the request.The language and locale of the intents in the list.A token that indicates whether there are more results to return in a response to theListIntents
operation.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 Details
-
botId
The identifier of the bot that contains the intent.
- Parameters:
botId
- The identifier of the bot that contains the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the intent.
- Parameters:
botVersion
- The version of the bot that contains the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale of the intents in the list.
- Parameters:
localeId
- The language and locale of the intents in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentSummaries
Summary information for the intents 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 intents available, thenextToken
field contains a token to get the next page of results.- Parameters:
intentSummaries
- Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in themaxResults
parameter of the request. If there are more intents available, thenextToken
field 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.
-
intentSummaries
Summary information for the intents 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 intents available, thenextToken
field contains a token to get the next page of results.- Parameters:
intentSummaries
- Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in themaxResults
parameter of the request. If there are more intents available, thenextToken
field 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.
-
intentSummaries
Summary information for the intents 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 themaxResults
parameter of the request. If there are more intents available, thenextToken
field contains a token to get the next page of results.IntentSummary.Builder
avoiding the need to create one manually viaIntentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointentSummaries(List<IntentSummary>)
.- Parameters:
intentSummaries
- a consumer that will call methods onIntentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates whether there are more results to return in a response to the
ListIntents
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListIntents
operation 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 theListIntents
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListIntents
operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-