Interface ListPluginActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPluginActionsResponse.Builder,,ListPluginActionsResponse> QBusinessResponse.Builder,SdkBuilder<ListPluginActionsResponse.Builder,,ListPluginActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPluginActionsResponse
public static interface ListPluginActionsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListPluginActionsResponse.Builder,ListPluginActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ActionSummary> items) An array of information on one or more plugin actions.items(Consumer<ActionSummary.Builder>... items) An array of information on one or more plugin actions.items(ActionSummary... items) An array of information on one or more plugin actions.If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin actions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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
-
nextToken
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin actions.
- Parameters:
nextToken- If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of information on one or more plugin actions.
- Parameters:
items- An array of information on one or more plugin actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of information on one or more plugin actions.
- Parameters:
items- An array of information on one or more plugin actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of information on one or more plugin actions.
This is a convenience method that creates an instance of theActionSummary.Builderavoiding the need to create one manually viaActionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ActionSummary>).- Parameters:
items- a consumer that will call methods onActionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-