Interface ListBillEstimateCommitmentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<ListBillEstimateCommitmentsResponse.Builder,ListBillEstimateCommitmentsResponse>,SdkBuilder<ListBillEstimateCommitmentsResponse.Builder,ListBillEstimateCommitmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBillEstimateCommitmentsResponse
public static interface ListBillEstimateCommitmentsResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<ListBillEstimateCommitmentsResponse.Builder,ListBillEstimateCommitmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBillEstimateCommitmentsResponse.Builderitems(Collection<BillEstimateCommitmentSummary> items)The list of commitments associated with the bill estimate.ListBillEstimateCommitmentsResponse.Builderitems(Consumer<BillEstimateCommitmentSummary.Builder>... items)The list of commitments associated with the bill estimate.ListBillEstimateCommitmentsResponse.Builderitems(BillEstimateCommitmentSummary... items)The list of commitments associated with the bill estimate.ListBillEstimateCommitmentsResponse.BuildernextToken(String nextToken)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, 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 Detail
-
items
ListBillEstimateCommitmentsResponse.Builder items(Collection<BillEstimateCommitmentSummary> items)
The list of commitments associated with the bill estimate.
- Parameters:
items- The list of commitments associated with the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillEstimateCommitmentsResponse.Builder items(BillEstimateCommitmentSummary... items)
The list of commitments associated with the bill estimate.
- Parameters:
items- The list of commitments associated with the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillEstimateCommitmentsResponse.Builder items(Consumer<BillEstimateCommitmentSummary.Builder>... items)
The list of commitments associated with the bill estimate.
This is a convenience method that creates an instance of theBillEstimateCommitmentSummary.Builderavoiding the need to create one manually viaBillEstimateCommitmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onBillEstimateCommitmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListBillEstimateCommitmentsResponse.Builder nextToken(String 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.
-
-