Interface ListPluginsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPluginsResponse.Builder,ListPluginsResponse>,QBusinessResponse.Builder,SdkBuilder<ListPluginsResponse.Builder,ListPluginsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPluginsResponse
public static interface ListPluginsResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListPluginsResponse.Builder,ListPluginsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPluginsResponse.BuildernextToken(String nextToken)If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response.ListPluginsResponse.Builderplugins(Collection<Plugin> plugins)Information about a configured plugin.ListPluginsResponse.Builderplugins(Consumer<Plugin.Builder>... plugins)Information about a configured plugin.ListPluginsResponse.Builderplugins(Plugin... plugins)Information about a configured plugin.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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
-
nextToken
ListPluginsResponse.Builder nextToken(String nextToken)
If the
maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.- Parameters:
nextToken- If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
ListPluginsResponse.Builder plugins(Collection<Plugin> plugins)
Information about a configured plugin.
- Parameters:
plugins- Information about a configured plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
ListPluginsResponse.Builder plugins(Plugin... plugins)
Information about a configured plugin.
- Parameters:
plugins- Information about a configured plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
ListPluginsResponse.Builder plugins(Consumer<Plugin.Builder>... plugins)
Information about a configured plugin.
This is a convenience method that creates an instance of thePlugin.Builderavoiding the need to create one manually viaPlugin.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#plugins(List.) - Parameters:
plugins- a consumer that will call methods onPlugin.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#plugins(java.util.Collection)
-
-