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, 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
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.Builderavoiding the need to create one manually viaBillScenarioUsageModificationItem.builder().When the
Consumercompletes,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.
-