Interface BatchUpdateBillScenarioCommitmentModificationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchUpdateBillScenarioCommitmentModificationResponse.Builder,BatchUpdateBillScenarioCommitmentModificationResponse>,SdkBuilder<BatchUpdateBillScenarioCommitmentModificationResponse.Builder,BatchUpdateBillScenarioCommitmentModificationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchUpdateBillScenarioCommitmentModificationResponse
public static interface BatchUpdateBillScenarioCommitmentModificationResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateBillScenarioCommitmentModificationResponse.Builder,BatchUpdateBillScenarioCommitmentModificationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateBillScenarioCommitmentModificationResponse.Buildererrors(Collection<BatchUpdateBillScenarioCommitmentModificationError> errors)Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioCommitmentModificationResponse.Buildererrors(Consumer<BatchUpdateBillScenarioCommitmentModificationError.Builder>... errors)Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioCommitmentModificationResponse.Buildererrors(BatchUpdateBillScenarioCommitmentModificationError... errors)Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.BatchUpdateBillScenarioCommitmentModificationResponse.Builderitems(Collection<BillScenarioCommitmentModificationItem> items)Returns the list of successful commitment line items that were updated for a Bill Scenario.BatchUpdateBillScenarioCommitmentModificationResponse.Builderitems(Consumer<BillScenarioCommitmentModificationItem.Builder>... items)Returns the list of successful commitment line items that were updated for a Bill Scenario.BatchUpdateBillScenarioCommitmentModificationResponse.Builderitems(BillScenarioCommitmentModificationItem... items)Returns the list of successful commitment line items that were updated for a Bill Scenario.-
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
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(Collection<BillScenarioCommitmentModificationItem> items)
Returns the list of successful commitment line items that were updated for a Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were updated for a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(BillScenarioCommitmentModificationItem... items)
Returns the list of successful commitment line items that were updated for a Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were updated for a Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchUpdateBillScenarioCommitmentModificationResponse.Builder items(Consumer<BillScenarioCommitmentModificationItem.Builder>... items)
Returns the list of successful commitment line items that were updated for a Bill Scenario.
This is a convenience method that creates an instance of theBillScenarioCommitmentModificationItem.Builderavoiding the need to create one manually viaBillScenarioCommitmentModificationItem.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 onBillScenarioCommitmentModificationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(Collection<BatchUpdateBillScenarioCommitmentModificationError> errors)
Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors- Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(BatchUpdateBillScenarioCommitmentModificationError... errors)
Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
- Parameters:
errors- Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateBillScenarioCommitmentModificationResponse.Builder errors(Consumer<BatchUpdateBillScenarioCommitmentModificationError.Builder>... errors)
Returns the list of error reasons and commitment line item IDs that could not be updated for the Bill Scenario.
This is a convenience method that creates an instance of theBatchUpdateBillScenarioCommitmentModificationError.Builderavoiding the need to create one manually viaBatchUpdateBillScenarioCommitmentModificationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onBatchUpdateBillScenarioCommitmentModificationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-