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