@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchMeterUsageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the UsageRecords processed by BatchMeterUsage and any records that have failed due
to transient error.
| Constructor and Description |
|---|
BatchMeterUsageResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchMeterUsageResult |
clone() |
boolean |
equals(Object obj) |
List<UsageRecordResult> |
getResults()
Contains all
UsageRecords processed by BatchMeterUsage. |
List<UsageRecord> |
getUnprocessedRecords()
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
int |
hashCode() |
void |
setResults(Collection<UsageRecordResult> results)
Contains all
UsageRecords processed by BatchMeterUsage. |
void |
setUnprocessedRecords(Collection<UsageRecord> unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
String |
toString()
Returns a string representation of this object.
|
BatchMeterUsageResult |
withResults(Collection<UsageRecordResult> results)
Contains all
UsageRecords processed by BatchMeterUsage. |
BatchMeterUsageResult |
withResults(UsageRecordResult... results)
Contains all
UsageRecords processed by BatchMeterUsage. |
BatchMeterUsageResult |
withUnprocessedRecords(Collection<UsageRecord> unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
BatchMeterUsageResult |
withUnprocessedRecords(UsageRecord... unprocessedRecords)
Contains all
UsageRecords that were not processed by BatchMeterUsage. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<UsageRecordResult> getResults()
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.
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.public void setResults(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.public BatchMeterUsageResult withResults(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.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection) or withResults(java.util.Collection) if you want to override
the existing values.
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.public BatchMeterUsageResult withResults(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.public List<UsageRecord> getUnprocessedRecords()
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.
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.public void setUnprocessedRecords(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.public BatchMeterUsageResult withUnprocessedRecords(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.
NOTE: This method appends the values to the existing list (if any). Use
setUnprocessedRecords(java.util.Collection) or withUnprocessedRecords(java.util.Collection) if
you want to override the existing values.
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.public BatchMeterUsageResult withUnprocessedRecords(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.public String toString()
toString in class ObjectObject.toString()public BatchMeterUsageResult clone()