public static interface BatchMeterUsageResponse.Builder extends MarketplaceMeteringResponse.Builder, SdkPojo, CopyableBuilder<BatchMeterUsageResponse.Builder,BatchMeterUsageResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchMeterUsageResponse.Builder |
results(Collection<UsageRecordResult> results)
Contains all
UsageRecords processed by BatchMeterUsage. |
BatchMeterUsageResponse.Builder |
results(Consumer<UsageRecordResult.Builder>... results)
Contains all
UsageRecords processed by BatchMeterUsage. |
BatchMeterUsageResponse.Builder |
results(UsageRecordResult... results)
Contains all
UsageRecords processed by BatchMeterUsage. |
BatchMeterUsageResponse.Builder |
unprocessedRecords(Collection<UsageRecord> unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
BatchMeterUsageResponse.Builder |
unprocessedRecords(Consumer<UsageRecord.Builder>... unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
BatchMeterUsageResponse.Builder |
unprocessedRecords(UsageRecord... unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchMeterUsageResponse.Builder results(Collection<UsageRecordResult> results)
Contains all UsageRecords processed by BatchMeterUsage. These records were either
honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed before being
resubmitted.
results - Contains all UsageRecords processed by BatchMeterUsage. These records were
either honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed
before being resubmitted.BatchMeterUsageResponse.Builder results(UsageRecordResult... results)
Contains all UsageRecords processed by BatchMeterUsage. These records were either
honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed before being
resubmitted.
results - Contains all UsageRecords processed by BatchMeterUsage. These records were
either honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed
before being resubmitted.BatchMeterUsageResponse.Builder results(Consumer<UsageRecordResult.Builder>... results)
Contains all UsageRecords processed by BatchMeterUsage. These records were either
honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed before being
resubmitted.
UsageRecordResult.Builder avoiding the need
to create one manually via
UsageRecordResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #results(List.
results - a consumer that will call methods on
UsageRecordResult.Builder#results(java.util.Collection) BatchMeterUsageResponse.Builder unprocessedRecords(Collection<UsageRecord> unprocessedRecords)
Contains all UsageRecords that were not processed by BatchMeterUsage. This is a
list of UsageRecords. You can retry the failed request by making another
BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.
unprocessedRecords - Contains all UsageRecords that were not processed by BatchMeterUsage. This
is a list of UsageRecords. You can retry the failed request by making another
BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.BatchMeterUsageResponse.Builder unprocessedRecords(UsageRecord... unprocessedRecords)
Contains all UsageRecords that were not processed by BatchMeterUsage. This is a
list of UsageRecords. You can retry the failed request by making another
BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.
unprocessedRecords - Contains all UsageRecords that were not processed by BatchMeterUsage. This
is a list of UsageRecords. You can retry the failed request by making another
BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.BatchMeterUsageResponse.Builder unprocessedRecords(Consumer<UsageRecord.Builder>... unprocessedRecords)
Contains all UsageRecords that were not processed by BatchMeterUsage. This is a
list of UsageRecords. You can retry the failed request by making another
BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.
UsageRecord.Builder avoiding the need to
create one manually via
UsageRecord.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #unprocessedRecords(List.
unprocessedRecords - a consumer that will call methods on
UsageRecord.Builder#unprocessedRecords(java.util.Collection) Copyright © 2023. All rights reserved.