Interface BatchUpdateWorkloadEstimateUsageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BcmPricingCalculatorRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateWorkloadEstimateUsageRequest.Builder,
,BatchUpdateWorkloadEstimateUsageRequest> SdkBuilder<BatchUpdateWorkloadEstimateUsageRequest.Builder,
,BatchUpdateWorkloadEstimateUsageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateWorkloadEstimateUsageRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateWorkloadEstimateUsageRequest.Builder
extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateWorkloadEstimateUsageRequest.Builder,BatchUpdateWorkloadEstimateUsageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.usage
(BatchUpdateWorkloadEstimateUsageEntry... usage) List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.workloadEstimateId
(String workloadEstimateId) The ID of the Workload estimate for which you want to modify the usage lines.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorRequest.Builder
build
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
-
Method Details
-
workloadEstimateId
The ID of the Workload estimate for which you want to modify the usage lines.
- Parameters:
workloadEstimateId
- The ID of the Workload estimate for which you want to modify the usage lines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchUpdateWorkloadEstimateUsageRequest.Builder usage(Collection<BatchUpdateWorkloadEstimateUsageEntry> usage) List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.
- Parameters:
usage
- List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchUpdateWorkloadEstimateUsageRequest.Builder usage(BatchUpdateWorkloadEstimateUsageEntry... usage) List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.
- Parameters:
usage
- List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchUpdateWorkloadEstimateUsageRequest.Builder usage(Consumer<BatchUpdateWorkloadEstimateUsageEntry.Builder>... usage) List of usage line amounts and usage group that you want to update in a Workload estimate identified by the usage ID.
This is a convenience method that creates an instance of theBatchUpdateWorkloadEstimateUsageEntry.Builder
avoiding the need to create one manually viaBatchUpdateWorkloadEstimateUsageEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousage(List<BatchUpdateWorkloadEstimateUsageEntry>)
.- Parameters:
usage
- a consumer that will call methods onBatchUpdateWorkloadEstimateUsageEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateWorkloadEstimateUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateWorkloadEstimateUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-