public UsageRecordResult withStatus(UsageRecordResultStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The <code>UsageRecordResult</code> <code>Status</code> indicates the status of an individual
<code>UsageRecord</code> processed by <code>BatchMeterUsage</code>.
</p>
<ul>
<li>
<p>
<i>Success</i>- The <code>UsageRecord</code> was accepted and honored by <code>BatchMeterUsage</code>.
</p>
</li>
<li>
<p>
<i>CustomerNotSubscribed</i>- The <code>CustomerIdentifier</code> specified is not able to use your product. The
<code>UsageRecord</code> was not honored. There are three causes for this result:
</p>
<ul>
<li>
<p>
The customer identifier is invalid.
</p>
</li>
<li>
<p>
The customer identifier provided in the metering record does not have an active agreement or subscription with
this product. Future <code>UsageRecords</code> for this customer will fail until the customer subscribes to your
product.
</p>
</li>
<li>
<p>
The customer's AWS account was suspended.
</p>
</li>
</ul>
</li>
<li>
<p>
<i>DuplicateRecord</i>- Indicates that the <code>UsageRecord</code> was invalid and not honored. A previously
metered <code>UsageRecord</code> had the same customer, dimension, and time, but a different quantity.
</p>
</li>
</ul>

@param status
       The <code>UsageRecordResult</code> <code>Status</code> indicates the status of an individual
       <code>UsageRecord</code> processed by <code>BatchMeterUsage</code>.</p>
       <ul>
       <li>
       <p>
       <i>Success</i>- The <code>UsageRecord</code> was accepted and honored by <code>BatchMeterUsage</code>.
       </p>
       </li>
       <li>
       <p>
       <i>CustomerNotSubscribed</i>- The <code>CustomerIdentifier</code> specified is not able to use your
       product. The <code>UsageRecord</code> was not honored. There are three causes for this result:
       </p>
       <ul>
       <li>
       <p>
       The customer identifier is invalid.
       </p>
       </li>
       <li>
       <p>
       The customer identifier provided in the metering record does not have an active agreement or subscription
       with this product. Future <code>UsageRecords</code> for this customer will fail until the customer
       subscribes to your product.
       </p>
       </li>
       <li>
       <p>
       The customer's AWS account was suspended.
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       <i>DuplicateRecord</i>- Indicates that the <code>UsageRecord</code> was invalid and not honored. A
       previously metered <code>UsageRecord</code> had the same customer, dimension, and time, but a different
       quantity.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see UsageRecordResultStatus
aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/UsageRecordResult.java