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 |
productCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
MeterUsageRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.