Interface BatchCreateBillScenarioCommitmentModificationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchCreateBillScenarioCommitmentModificationResponse.Builder,BatchCreateBillScenarioCommitmentModificationResponse>,SdkBuilder<BatchCreateBillScenarioCommitmentModificationResponse.Builder,BatchCreateBillScenarioCommitmentModificationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateBillScenarioCommitmentModificationResponse
public static interface BatchCreateBillScenarioCommitmentModificationResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateBillScenarioCommitmentModificationResponse.Builder,BatchCreateBillScenarioCommitmentModificationResponse>
-
-
Method Summary
-
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
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(Collection<BatchCreateBillScenarioCommitmentModificationItem> items)
Returns the list of successful commitment line items that were created for the Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were created for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(BatchCreateBillScenarioCommitmentModificationItem... items)
Returns the list of successful commitment line items that were created for the Bill Scenario.
- Parameters:
items- Returns the list of successful commitment line items that were created for the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateBillScenarioCommitmentModificationResponse.Builder items(Consumer<BatchCreateBillScenarioCommitmentModificationItem.Builder>... items)
Returns the list of successful commitment line items that were created for the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioCommitmentModificationItem.Builderavoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationItem.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 onBatchCreateBillScenarioCommitmentModificationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(Collection<BatchCreateBillScenarioCommitmentModificationError> errors)
Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
- Parameters:
errors- Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(BatchCreateBillScenarioCommitmentModificationError... errors)
Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
- Parameters:
errors- Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateBillScenarioCommitmentModificationResponse.Builder errors(Consumer<BatchCreateBillScenarioCommitmentModificationError.Builder>... errors)
Returns the list of errors reason and the commitment item keys that cannot be created in the Bill Scenario.
This is a convenience method that creates an instance of theBatchCreateBillScenarioCommitmentModificationError.Builderavoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationError.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 onBatchCreateBillScenarioCommitmentModificationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-