Interface ListSubscriptionsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListSubscriptionsResponse.Builder,,- ListSubscriptionsResponse> - QBusinessResponse.Builder,- SdkBuilder<ListSubscriptionsResponse.Builder,,- ListSubscriptionsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListSubscriptionsResponse
@Mutable
@NotThreadSafe
public static interface ListSubscriptionsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListSubscriptionsResponse.Builder,ListSubscriptionsResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenIf 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.
 
- 
subscriptionsAn 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.
 
- 
subscriptionsAn 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.
 
- 
subscriptionsAn 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 on- Subscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-