public CreateEventDataStoreRequest withBillingMode(BillingMode billingMode) {
        this.billingMode = billingMode.toString();
        return this;
    }
<p>
The billing mode for the event data store determines the cost for ingesting events and the default and maximum
retention period for the event data store.
</p>
<p>
The following are the possible values:
</p>
<ul>
<li>
<p>
<code>EXTENDABLE_RETENTION_PRICING</code> - This billing mode is generally recommended if you want a flexible
retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366
days.
</p>
</li>
<li>
<p>
<code>FIXED_RETENTION_PRICING</code> - This billing mode is recommended if you expect to ingest more than 25 TB
of event data per month and need a retention period of up to 2557 days (about 7 years). The default retention
period for this billing mode is 2557 days.
</p>
</li>
</ul>
<p>
The default value is <code>EXTENDABLE_RETENTION_PRICING</code>.
</p>
<p>
For more information about CloudTrail pricing, see <a href="http://aws.amazon.com/cloudtrail/pricing/">CloudTrail
Pricing</a> and <a
href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html">Managing
CloudTrail Lake costs</a>.
</p>

@param billingMode
       The billing mode for the event data store determines the cost for ingesting events and the default and
       maximum retention period for the event data store.</p>
       <p>
       The following are the possible values:
       </p>
       <ul>
       <li>
       <p>
       <code>EXTENDABLE_RETENTION_PRICING</code> - This billing mode is generally recommended if you want a
       flexible retention period of up to 3653 days (about 10 years). The default retention period for this
       billing mode is 366 days.
       </p>
       </li>
       <li>
       <p>
       <code>FIXED_RETENTION_PRICING</code> - This billing mode is recommended if you expect to ingest more than
       25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The default
       retention period for this billing mode is 2557 days.
       </p>
       </li>
       </ul>
       <p>
       The default value is <code>EXTENDABLE_RETENTION_PRICING</code>.
       </p>
       <p>
       For more information about CloudTrail pricing, see <a
       href="http://aws.amazon.com/cloudtrail/pricing/">CloudTrail Pricing</a> and <a
       href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html"
       >Managing CloudTrail Lake costs</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see BillingMode
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/CreateEventDataStoreRequest.java