CopyableBuilder<BatchMeterUsageRequest.Builder,BatchMeterUsageRequest>, SdkBuilder<BatchMeterUsageRequest.Builder,BatchMeterUsageRequest>public static interface BatchMeterUsageRequest.Builder extends CopyableBuilder<BatchMeterUsageRequest.Builder,BatchMeterUsageRequest>
| Modifier and Type | Method | Description |
|---|---|---|
BatchMeterUsageRequest.Builder |
productCode(String productCode) |
Product code is used to uniquely identify a product in AWS Marketplace.
|
BatchMeterUsageRequest.Builder |
usageRecords(Collection<UsageRecord> usageRecords) |
The set of UsageRecords to submit.
|
BatchMeterUsageRequest.Builder |
usageRecords(UsageRecord... usageRecords) |
The set of UsageRecords to submit.
|
copyapply, buildBatchMeterUsageRequest.Builder usageRecords(Collection<UsageRecord> usageRecords)
The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.
usageRecords - The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.BatchMeterUsageRequest.Builder usageRecords(UsageRecord... usageRecords)
The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.
NOTE: This method appends the values to the existing list (if any). Use
#setUsageRecords(java.util.Collection) or #withUsageRecords(java.util.Collection) if you want
to override the existing values.
usageRecords - The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.BatchMeterUsageRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.