public static interface BatchMeterUsageRequest.Builder extends MarketplaceMeteringRequest.Builder, CopyableBuilder<BatchMeterUsageRequest.Builder,BatchMeterUsageRequest>
Modifier and Type | Method and Description |
---|---|
BatchMeterUsageRequest.Builder |
productCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
BatchMeterUsageRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
BatchMeterUsageRequest.Builder |
usageRecords(Collection<UsageRecord> usageRecords)
The set of UsageRecords to submit.
|
BatchMeterUsageRequest.Builder |
usageRecords(UsageRecord... usageRecords)
The set of UsageRecords to submit.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
BatchMeterUsageRequest.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.
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.BatchMeterUsageRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.