Interface ListBillEstimatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<ListBillEstimatesResponse.Builder,,ListBillEstimatesResponse> SdkBuilder<ListBillEstimatesResponse.Builder,,ListBillEstimatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBillEstimatesResponse
@Mutable
@NotThreadSafe
public static interface ListBillEstimatesResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<ListBillEstimatesResponse.Builder,ListBillEstimatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<BillEstimateSummary> items) The list of bill estimates for the account.items(Consumer<BillEstimateSummary.Builder>... items) The list of bill estimates for the account.items(BillEstimateSummary... items) The list of bill estimates for the account.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 bill estimates for the account.
- Parameters:
items- The list of bill estimates for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of bill estimates for the account.
- Parameters:
items- The list of bill estimates for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of bill estimates for the account.
This is a convenience method that creates an instance of theBillEstimateSummary.Builderavoiding the need to create one manually viaBillEstimateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BillEstimateSummary>).- Parameters:
items- a consumer that will call methods onBillEstimateSummary.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.
-