Interface ListBuiltInIntentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBuiltInIntentsResponse.Builder,ListBuiltInIntentsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBuiltInIntentsResponse.Builder,ListBuiltInIntentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBuiltInIntentsResponse
public static interface ListBuiltInIntentsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBuiltInIntentsResponse.Builder,ListBuiltInIntentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBuiltInIntentsResponse.BuilderbuiltInIntentSummaries(Collection<BuiltInIntentSummary> builtInIntentSummaries)Summary information for the built-in intents that meet the filter criteria specified in the request.ListBuiltInIntentsResponse.BuilderbuiltInIntentSummaries(Consumer<BuiltInIntentSummary.Builder>... builtInIntentSummaries)Summary information for the built-in intents that meet the filter criteria specified in the request.ListBuiltInIntentsResponse.BuilderbuiltInIntentSummaries(BuiltInIntentSummary... builtInIntentSummaries)Summary information for the built-in intents that meet the filter criteria specified in the request.ListBuiltInIntentsResponse.BuilderlocaleId(String localeId)The language and locale of the intents in the list.ListBuiltInIntentsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListBuiltInIntentsoperation.-
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
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(Collection<BuiltInIntentSummary> builtInIntentSummaries)
Summary information for the built-in 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:
builtInIntentSummaries- Summary information for the built-in 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.
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(BuiltInIntentSummary... builtInIntentSummaries)
Summary information for the built-in 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:
builtInIntentSummaries- Summary information for the built-in 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.
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(Consumer<BuiltInIntentSummary.Builder>... builtInIntentSummaries)
Summary information for the built-in 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.BuiltInIntentSummary.Builderavoiding the need to create one manually viaBuiltInIntentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#builtInIntentSummaries(List.) - Parameters:
builtInIntentSummaries- a consumer that will call methods onBuiltInIntentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#builtInIntentSummaries(java.util.Collection)
-
nextToken
ListBuiltInIntentsResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBuiltInIntentsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotAliasesoperation 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 theListBuiltInIntentsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotAliasesoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListBuiltInIntentsResponse.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.
-
-