Interface ListSubscriptionsResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListSubscriptionsResponse.Builder,,ListSubscriptionsResponse> SdkBuilder<ListSubscriptionsResponse.Builder,,ListSubscriptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSubscriptionsResponse
@Mutable
@NotThreadSafe
public static interface ListSubscriptionsResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<ListSubscriptionsResponse.Builder,ListSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<SubscriptionSummary> items) The page of subscription summaries for the app.items(Consumer<SubscriptionSummary.Builder>... items) The page of subscription summaries for the app.items(SubscriptionSummary... items) The page of subscription summaries for the app.An opaque pagination token.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
items
The page of subscription summaries for the app.
- Parameters:
items- The page of subscription summaries for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of subscription summaries for the app.
- Parameters:
items- The page of subscription summaries for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of subscription summaries for the app.
This is a convenience method that creates an instance of theSubscriptionSummary.Builderavoiding the need to create one manually viaSubscriptionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<SubscriptionSummary>).- Parameters:
items- a consumer that will call methods onSubscriptionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.
- Parameters:
nextToken- An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-