CopyableBuilder<UsageRecordResult.Builder,UsageRecordResult>
, SdkBuilder<UsageRecordResult.Builder,UsageRecordResult>
public static interface UsageRecordResult.Builder extends CopyableBuilder<UsageRecordResult.Builder,UsageRecordResult>
Modifier and Type | Method | Description |
---|---|---|
UsageRecordResult.Builder |
meteringRecordId(String meteringRecordId) |
The MeteringRecordId is a unique identifier for this metering event.
|
UsageRecordResult.Builder |
status(String status) |
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
|
UsageRecordResult.Builder |
status(UsageRecordResultStatus status) |
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
|
UsageRecordResult.Builder |
usageRecord(UsageRecord usageRecord) |
The UsageRecord that was part of the BatchMeterUsage request.
|
copy
apply, build
UsageRecordResult.Builder usageRecord(UsageRecord usageRecord)
The UsageRecord that was part of the BatchMeterUsage request.
usageRecord
- The UsageRecord that was part of the BatchMeterUsage request.UsageRecordResult.Builder meteringRecordId(String meteringRecordId)
The MeteringRecordId is a unique identifier for this metering event.
meteringRecordId
- The MeteringRecordId is a unique identifier for this metering event.UsageRecordResult.Builder status(String status)
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
status
- The UsageRecordResult Status indicates the status of an individual UsageRecord processed by
BatchMeterUsage.
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
UsageRecordResultStatus
UsageRecordResult.Builder status(UsageRecordResultStatus status)
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
status
- The UsageRecordResult Status indicates the status of an individual UsageRecord processed by
BatchMeterUsage.
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
UsageRecordResultStatus
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.