Interface ListIntentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListIntentsResponse.Builder,ListIntentsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListIntentsResponse.Builder,ListIntentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListIntentsResponse
public static interface ListIntentsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListIntentsResponse.Builder,ListIntentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIntentsResponse.BuilderbotId(String botId)The identifier of the bot that contains the intent.ListIntentsResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the intent.ListIntentsResponse.BuilderintentSummaries(Collection<IntentSummary> intentSummaries)Summary information for the intents that meet the filter criteria specified in the request.ListIntentsResponse.BuilderintentSummaries(Consumer<IntentSummary.Builder>... intentSummaries)Summary information for the intents that meet the filter criteria specified in the request.ListIntentsResponse.BuilderintentSummaries(IntentSummary... intentSummaries)Summary information for the intents that meet the filter criteria specified in the request.ListIntentsResponse.BuilderlocaleId(String localeId)The language and locale of the intents in the list.ListIntentsResponse.BuildernextToken(String nextToken)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
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
ListIntentsResponse.Builder botId(String 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
ListIntentsResponse.Builder botVersion(String 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
ListIntentsResponse.Builder localeId(String 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
ListIntentsResponse.Builder intentSummaries(Collection<IntentSummary> 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
ListIntentsResponse.Builder intentSummaries(IntentSummary... 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
ListIntentsResponse.Builder intentSummaries(Consumer<IntentSummary.Builder>... 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 to#intentSummaries(List.) - 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:
#intentSummaries(java.util.Collection)
-
nextToken
ListIntentsResponse.Builder nextToken(String 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.
-
-