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 theListIntentsoperation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
maxResultsparameter of the request. If there are more intents available, thenextTokenfield 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 themaxResultsparameter of the request. If there are more intents 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.
-
intentSummaries
Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more intents available, thenextTokenfield 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 themaxResultsparameter of the request. If there are more intents 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.
-
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 themaxResultsparameter of the request. If there are more intents available, thenextTokenfield contains a token to get the next page of results.IntentSummary.Builderavoiding the need to create one manually viaIntentSummary.builder().When the
Consumercompletes,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
ListIntentsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListIntentsoperation 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 theListIntentsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListIntentsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-