public static interface MeterUsageRequest.Builder extends MarketplaceMeteringRequest.Builder, CopyableBuilder<MeterUsageRequest.Builder,MeterUsageRequest>
Modifier and Type | Method and Description |
---|---|
MeterUsageRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the permissions required for the action, but does not make the request.
|
MeterUsageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
MeterUsageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
MeterUsageRequest.Builder |
productCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
MeterUsageRequest.Builder |
timestamp(Instant timestamp)
Timestamp of the hour, recorded in UTC.
|
MeterUsageRequest.Builder |
usageDimension(String usageDimension)
It will be one of the fcp dimension name provided during the publishing of the product.
|
MeterUsageRequest.Builder |
usageQuantity(Integer usageQuantity)
Consumption value for the hour.
|
build
overrideConfiguration
copy
applyMutation, build
MeterUsageRequest.Builder productCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
productCode
- Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the
same as the one used during the publishing of a new product.MeterUsageRequest.Builder timestamp(Instant timestamp)
Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
timestamp
- Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
ignored.MeterUsageRequest.Builder usageDimension(String usageDimension)
It will be one of the fcp dimension name provided during the publishing of the product.
usageDimension
- It will be one of the fcp dimension name provided during the publishing of the product.MeterUsageRequest.Builder usageQuantity(Integer usageQuantity)
Consumption value for the hour.
usageQuantity
- Consumption value for the hour.MeterUsageRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException.
dryRun
- Checks whether you have the permissions required for the action, but does not make the request. If you
have the permissions, the request returns DryRunOperation; otherwise, it returns
UnauthorizedException.MeterUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.MeterUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.