Interface ListBotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>,SdkBuilder<ListBotsResponse.Builder,ListBotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotsResponse
public static interface ListBotsResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotsResponse.BuilderlexBots(Collection<LexBotConfig> lexBots)The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.ListBotsResponse.BuilderlexBots(Consumer<LexBotConfig.Builder>... lexBots)The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.ListBotsResponse.BuilderlexBots(LexBotConfig... lexBots)The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.ListBotsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
lexBots
ListBotsResponse.Builder lexBots(Collection<LexBotConfig> lexBots)
The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
- Parameters:
lexBots- The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBots
ListBotsResponse.Builder lexBots(LexBotConfig... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
- Parameters:
lexBots- The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBots
ListBotsResponse.Builder lexBots(Consumer<LexBotConfig.Builder>... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
This is a convenience method that creates an instance of theLexBotConfig.Builderavoiding the need to create one manually viaLexBotConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lexBots(List.) - Parameters:
lexBots- a consumer that will call methods onLexBotConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lexBots(java.util.Collection)
-
nextToken
ListBotsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-