public DeregistrationPolicy withDeleteResources(DeleteResources deleteResources) {
        this.deleteResources = deleteResources.toString();
        return this;
    }
<p>
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
</p>
<ul>
<li>
<p>
If you set the value to <code>ALL</code>, all of your data is deleted within seven days of deregistration.
</p>
</li>
<li>
<p>
If you set the value to <code>DEFAULT</code>, none of your data is deleted at the time of deregistration.
However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data
will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist
indefinitely.
</p>
</li>
</ul>

@param deleteResources
       Specifies which Audit Manager data will be deleted when you deregister Audit Manager.</p>
       <ul>
       <li>
       <p>
       If you set the value to <code>ALL</code>, all of your data is deleted within seven days of deregistration.
       </p>
       </li>
       <li>
       <p>
       If you set the value to <code>DEFAULT</code>, none of your data is deleted at the time of deregistration.
       However, keep in mind that the Audit Manager data retention policy still applies. As a result, any
       evidence data will be deleted two years after its creation date. Your other Audit Manager resources will
       continue to exist indefinitely.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see DeleteResources
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/DeregistrationPolicy.java