public static interface UsageRecord.Builder extends CopyableBuilder<UsageRecord.Builder,UsageRecord>
Modifier and Type | Method and Description |
---|---|
UsageRecord.Builder |
customerIdentifier(String customerIdentifier)
The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer
in your application.
|
UsageRecord.Builder |
dimension(String dimension)
During the process of registering a product on AWS Marketplace, up to eight dimensions are specified.
|
UsageRecord.Builder |
quantity(Integer quantity)
The quantity of usage consumed by the customer for the given dimension and time.
|
UsageRecord.Builder |
timestamp(Instant timestamp)
Timestamp of the hour, recorded in UTC.
|
copy
applyMutation, build
UsageRecord.Builder timestamp(Instant timestamp)
Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
Your application can meter usage for up to one hour in the past.
timestamp
- Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
ignored.
Your application can meter usage for up to one hour in the past.
UsageRecord.Builder customerIdentifier(String customerIdentifier)
The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.
customerIdentifier
- The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual
buyer in your application.UsageRecord.Builder dimension(String dimension)
During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application.
dimension
- During the process of registering a product on AWS Marketplace, up to eight dimensions are specified.
These represent different units of value in your application.UsageRecord.Builder quantity(Integer quantity)
The quantity of usage consumed by the customer for the given dimension and time.
quantity
- The quantity of usage consumed by the customer for the given dimension and time.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.