| Package | Description |
|---|---|
| software.amazon.awssdk.services.marketplacemetering.model |
| Modifier and Type | Method and Description |
|---|---|
static UsageRecord.Builder |
UsageRecord.builder() |
UsageRecord.Builder |
UsageRecord.Builder.customerIdentifier(String customerIdentifier)
The
CustomerIdentifier is obtained through the ResolveCustomer operation and
represents an individual buyer in your application. |
UsageRecord.Builder |
UsageRecord.Builder.dimension(String dimension)
During the process of registering a product on AWS Marketplace, dimensions are specified.
|
UsageRecord.Builder |
UsageRecord.Builder.quantity(Integer quantity)
The quantity of usage consumed by the customer for the given dimension and time.
|
UsageRecord.Builder |
UsageRecord.Builder.timestamp(Instant timestamp)
Timestamp, in UTC, for which the usage is being reported.
|
UsageRecord.Builder |
UsageRecord.toBuilder() |
UsageRecord.Builder |
UsageRecord.Builder.usageAllocations(Collection<UsageAllocation> usageAllocations)
The set of
UsageAllocations to submit. |
UsageRecord.Builder |
UsageRecord.Builder.usageAllocations(Consumer<UsageAllocation.Builder>... usageAllocations)
The set of
UsageAllocations to submit. |
UsageRecord.Builder |
UsageRecord.Builder.usageAllocations(UsageAllocation... usageAllocations)
The set of
UsageAllocations to submit. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends UsageRecord.Builder> |
UsageRecord.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default UsageRecordResult.Builder |
UsageRecordResult.Builder.usageRecord(Consumer<UsageRecord.Builder> usageRecord)
The
UsageRecord that was part of the BatchMeterUsage request. |
Copyright © 2023. All rights reserved.