@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; useful for testing and debugging.
|
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, setSdkResponseMetadata
public List<UsageRecordResult> getResults()
Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid.
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.
results
- Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS
Marketplace Metering Service or were invalid.public BatchMeterUsageResult withResults(UsageRecordResult... results)
Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid.
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.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.
results
- Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS
Marketplace Metering Service or were invalid.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.
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 Object
Object.toString()
public BatchMeterUsageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.