Interface BatchCreateWorkloadEstimateUsageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BcmPricingCalculatorRequest.Builder,Buildable,CopyableBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,BatchCreateWorkloadEstimateUsageRequest>,SdkBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,BatchCreateWorkloadEstimateUsageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchCreateWorkloadEstimateUsageRequest
public static interface BatchCreateWorkloadEstimateUsageRequest.Builder extends BcmPricingCalculatorRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageRequest.Builder,BatchCreateWorkloadEstimateUsageRequest>
-
-
Method Summary
-
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 Detail
-
workloadEstimateId
BatchCreateWorkloadEstimateUsageRequest.Builder workloadEstimateId(String 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 to#usage(List.) - 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:
#usage(java.util.Collection)
-
clientToken
BatchCreateWorkloadEstimateUsageRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchCreateWorkloadEstimateUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-