Interface ListLexBotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListLexBotsResponse.Builder,ListLexBotsResponse>
,SdkBuilder<ListLexBotsResponse.Builder,ListLexBotsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListLexBotsResponse
public static interface ListLexBotsResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListLexBotsResponse.Builder,ListLexBotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLexBotsResponse.Builder
lexBots(Collection<LexBot> lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.ListLexBotsResponse.Builder
lexBots(Consumer<LexBot.Builder>... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.ListLexBotsResponse.Builder
lexBots(LexBot... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.ListLexBotsResponse.Builder
nextToken(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
ListLexBotsResponse.Builder lexBots(Collection<LexBot> lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
- Parameters:
lexBots
- The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBots
ListLexBotsResponse.Builder lexBots(LexBot... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
- Parameters:
lexBots
- The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBots
ListLexBotsResponse.Builder lexBots(Consumer<LexBot.Builder>... lexBots)
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
This is a convenience method that creates an instance of theLexBot.Builder
avoiding the need to create one manually viaLexBot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#lexBots(List
.) - Parameters:
lexBots
- a consumer that will call methods onLexBot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lexBots(java.util.Collection
)
-
nextToken
ListLexBotsResponse.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.
-
-