Interface ListBillingViewsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<ListBillingViewsResponse.Builder,,ListBillingViewsResponse> SdkBuilder<ListBillingViewsResponse.Builder,,ListBillingViewsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBillingViewsResponse
@Mutable
@NotThreadSafe
public static interface ListBillingViewsResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<ListBillingViewsResponse.Builder,ListBillingViewsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingViews(Collection<BillingViewListElement> billingViews) A list ofBillingViewListElementretrieved.billingViews(Consumer<BillingViewListElement.Builder>... billingViews) A list ofBillingViewListElementretrieved.billingViews(BillingViewListElement... billingViews) A list ofBillingViewListElementretrieved.The pagination token to use on subsequent calls to list billing views.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.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
-
billingViews
A list of
BillingViewListElementretrieved.- Parameters:
billingViews- A list ofBillingViewListElementretrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViews
A list of
BillingViewListElementretrieved.- Parameters:
billingViews- A list ofBillingViewListElementretrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViews
ListBillingViewsResponse.Builder billingViews(Consumer<BillingViewListElement.Builder>... billingViews) A list of
This is a convenience method that creates an instance of theBillingViewListElementretrieved.BillingViewListElement.Builderavoiding the need to create one manually viaBillingViewListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingViews(List<BillingViewListElement>).- Parameters:
billingViews- a consumer that will call methods onBillingViewListElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use on subsequent calls to list billing views.
- Parameters:
nextToken- The pagination token to use on subsequent calls to list billing views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-