Interface GetSubscriptionHistoryResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetSubscriptionHistoryResponse.Builder,,GetSubscriptionHistoryResponse> SdkBuilder<GetSubscriptionHistoryResponse.Builder,,GetSubscriptionHistoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSubscriptionHistoryResponse
@Mutable
@NotThreadSafe
public static interface GetSubscriptionHistoryResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionHistoryResponse.Builder,GetSubscriptionHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Subscription> items) The page of historical subscription records for the user.items(Consumer<Subscription.Builder>... items) The page of historical subscription records for the user.items(Subscription... items) The page of historical subscription records for the user.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 historical subscription records for the user.
- Parameters:
items- The page of historical subscription records for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of historical subscription records for the user.
- Parameters:
items- The page of historical subscription records for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of historical subscription records for the user.
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 toitems(List<Subscription>).- Parameters:
items- 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:
-
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.
-