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 ofBillingViewListElement
retrieved.billingViews
(Consumer<BillingViewListElement.Builder>... billingViews) A list ofBillingViewListElement
retrieved.billingViews
(BillingViewListElement... billingViews) A list ofBillingViewListElement
retrieved.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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
billingViews
A list of
BillingViewListElement
retrieved.- Parameters:
billingViews
- A list ofBillingViewListElement
retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViews
A list of
BillingViewListElement
retrieved.- Parameters:
billingViews
- A list ofBillingViewListElement
retrieved.- 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 theBillingViewListElement
retrieved.BillingViewListElement.Builder
avoiding the need to create one manually viaBillingViewListElement.builder()
.When the
Consumer
completes,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.
-