Interface ListThirdPartyCostsResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListThirdPartyCostsResponse.Builder,,ListThirdPartyCostsResponse> SdkBuilder<ListThirdPartyCostsResponse.Builder,,ListThirdPartyCostsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListThirdPartyCostsResponse
@Mutable
@NotThreadSafe
public static interface ListThirdPartyCostsResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<ListThirdPartyCostsResponse.Builder,ListThirdPartyCostsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ThirdPartyCostItem> items) The app's declared third-party costs.items(Consumer<ThirdPartyCostItem.Builder>... items) The app's declared third-party costs.items(ThirdPartyCostItem... items) The app's declared third-party costs.The pagination token; absent when there are no more results.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 app's declared third-party costs.
- Parameters:
items- The app's declared third-party costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The app's declared third-party costs.
- Parameters:
items- The app's declared third-party costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The app's declared third-party costs.
This is a convenience method that creates an instance of theThirdPartyCostItem.Builderavoiding the need to create one manually viaThirdPartyCostItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ThirdPartyCostItem>).- Parameters:
items- a consumer that will call methods onThirdPartyCostItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token; absent when there are no more results.
- Parameters:
nextToken- The pagination token; absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-