Interface BatchCreateWorkloadEstimateUsageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,,BatchCreateWorkloadEstimateUsageRequest> SdkBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,,BatchCreateWorkloadEstimateUsageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchCreateWorkloadEstimateUsageRequest
@Mutable
@NotThreadSafe
public static interface BatchCreateWorkloadEstimateUsageRequest.Builder
extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,BatchCreateWorkloadEstimateUsageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.List of usage that you want to model in the Workload estimate.List of usage that you want to model in the Workload estimate.usage(BatchCreateWorkloadEstimateUsageEntry... usage) List of usage that you want to model in the Workload estimate.workloadEstimateId(String workloadEstimateId) The ID of the Workload estimate for which you want to create the modeled usage.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
workloadEstimateId
The ID of the Workload estimate for which you want to create the modeled usage.
- Parameters:
workloadEstimateId- The ID of the Workload estimate for which you want to create the modeled usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchCreateWorkloadEstimateUsageRequest.Builder usage(Collection<BatchCreateWorkloadEstimateUsageEntry> usage) List of usage that you want to model in the Workload estimate.
- Parameters:
usage- List of usage that you want to model in the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchCreateWorkloadEstimateUsageRequest.Builder usage(BatchCreateWorkloadEstimateUsageEntry... usage) List of usage that you want to model in the Workload estimate.
- Parameters:
usage- List of usage that you want to model in the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
BatchCreateWorkloadEstimateUsageRequest.Builder usage(Consumer<BatchCreateWorkloadEstimateUsageEntry.Builder>... usage) List of usage that you want to model in the Workload estimate.
This is a convenience method that creates an instance of theBatchCreateWorkloadEstimateUsageEntry.Builderavoiding the need to create one manually viaBatchCreateWorkloadEstimateUsageEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousage(List<BatchCreateWorkloadEstimateUsageEntry>).- Parameters:
usage- a consumer that will call methods onBatchCreateWorkloadEstimateUsageEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchCreateWorkloadEstimateUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchCreateWorkloadEstimateUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-