CopyableBuilder<MeterUsageRequest.Builder,MeterUsageRequest>
, SdkBuilder<MeterUsageRequest.Builder,MeterUsageRequest>
public static interface MeterUsageRequest.Builder extends CopyableBuilder<MeterUsageRequest.Builder,MeterUsageRequest>
Modifier and Type | Method | 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 |
timestamp(Date 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.
|
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(Date 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.