Interface ListBillScenarioCommitmentModificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<ListBillScenarioCommitmentModificationsResponse.Builder,
,ListBillScenarioCommitmentModificationsResponse> SdkBuilder<ListBillScenarioCommitmentModificationsResponse.Builder,
,ListBillScenarioCommitmentModificationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBillScenarioCommitmentModificationsResponse
@Mutable
@NotThreadSafe
public static interface ListBillScenarioCommitmentModificationsResponse.Builder
extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<ListBillScenarioCommitmentModificationsResponse.Builder,ListBillScenarioCommitmentModificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of commitment modifications associated with the bill scenario.The list of commitment modifications associated with the bill scenario.items
(BillScenarioCommitmentModificationItem... items) The list of commitment modifications associated with the bill scenario.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 Details
-
items
ListBillScenarioCommitmentModificationsResponse.Builder items(Collection<BillScenarioCommitmentModificationItem> items) The list of commitment modifications associated with the bill scenario.
- Parameters:
items
- The list of commitment modifications associated with the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillScenarioCommitmentModificationsResponse.Builder items(BillScenarioCommitmentModificationItem... items) The list of commitment modifications associated with the bill scenario.
- Parameters:
items
- The list of commitment modifications associated with the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillScenarioCommitmentModificationsResponse.Builder items(Consumer<BillScenarioCommitmentModificationItem.Builder>... items) The list of commitment modifications associated with the bill scenario.
This is a convenience method that creates an instance of theBillScenarioCommitmentModificationItem.Builder
avoiding the need to create one manually viaBillScenarioCommitmentModificationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<BillScenarioCommitmentModificationItem>)
.- Parameters:
items
- a consumer that will call methods onBillScenarioCommitmentModificationItem.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.
-