Interface ListPlansResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPlansResponse.Builder,,ListPlansResponse> SdkBuilder<ListPlansResponse.Builder,,ListPlansResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPlansResponse
@Mutable
@NotThreadSafe
public static interface ListPlansResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<ListPlansResponse.Builder,ListPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn opaque pagination token.plans(Collection<Plan> plans) The page of plans for the app; each carries the stage it was read from.plans(Consumer<Plan.Builder>... plans) The page of plans for the app; each carries the stage it was read from.The page of plans for the app; each carries the stage it was read from.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
-
plans
The page of plans for the app; each carries the stage it was read from.
- Parameters:
plans- The page of plans for the app; each carries the stage it was read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The page of plans for the app; each carries the stage it was read from.
- Parameters:
plans- The page of plans for the app; each carries the stage it was read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plans
The page of plans for the app; each carries the stage it was read from.
This is a convenience method that creates an instance of thePlan.Builderavoiding the need to create one manually viaPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplans(List<Plan>).- Parameters:
plans- a consumer that will call methods onPlan.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.
-