Interface ListBillEstimateLineItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<ListBillEstimateLineItemsResponse.Builder,,ListBillEstimateLineItemsResponse> SdkBuilder<ListBillEstimateLineItemsResponse.Builder,,ListBillEstimateLineItemsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBillEstimateLineItemsResponse
@Mutable
@NotThreadSafe
public static interface ListBillEstimateLineItemsResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<ListBillEstimateLineItemsResponse.Builder,ListBillEstimateLineItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of line items associated with the bill estimate.items(Consumer<BillEstimateLineItemSummary.Builder>... items) The list of line items associated with the bill estimate.items(BillEstimateLineItemSummary... items) The list of line items associated with the bill estimate.A token to retrieve the next page of results, if any.Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.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 list of line items associated with the bill estimate.
- Parameters:
items- The list of line items associated with the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of line items associated with the bill estimate.
- Parameters:
items- The list of line items associated with the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillEstimateLineItemsResponse.Builder items(Consumer<BillEstimateLineItemSummary.Builder>... items) The list of line items associated with the bill estimate.
This is a convenience method that creates an instance of theBillEstimateLineItemSummary.Builderavoiding the need to create one manually viaBillEstimateLineItemSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BillEstimateLineItemSummary>).- Parameters:
items- a consumer that will call methods onBillEstimateLineItemSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to retrieve the next page of results, if any.
- Parameters:
nextToken- A token to retrieve the next page of results, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-