Interface ListSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSubscriptionsResponse.Builder,,ListSubscriptionsResponse> QBusinessResponse.Builder,SdkBuilder<ListSubscriptionsResponse.Builder,,ListSubscriptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSubscriptionsResponse
public static interface ListSubscriptionsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListSubscriptionsResponse.Builder,ListSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Q Business returns this token.subscriptions(Collection<Subscription> subscriptions) An array of summary information on the subscriptions configured for an Amazon Q Business application.subscriptions(Consumer<Subscription.Builder>... subscriptions) An array of summary information on the subscriptions configured for an Amazon Q Business application.subscriptions(Subscription... subscriptions) An array of summary information on the subscriptions configured for an Amazon Q Business application.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. You can use this token in a subsequent request to retrieve the next set of subscriptions.
- Parameters:
nextToken- If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
An array of summary information on the subscriptions configured for an Amazon Q Business application.
- Parameters:
subscriptions- An array of summary information on the subscriptions configured for an Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
An array of summary information on the subscriptions configured for an Amazon Q Business application.
- Parameters:
subscriptions- An array of summary information on the subscriptions configured for an Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
An array of summary information on the subscriptions configured for an Amazon Q Business application.
This is a convenience method that creates an instance of theSubscription.Builderavoiding the need to create one manually viaSubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptions(List<Subscription>).- Parameters:
subscriptions- a consumer that will call methods onSubscription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-