public void setDefaultPolicy(Boolean defaultPolicy) {
        this.defaultPolicy = defaultPolicy;
    }
<p>
<b>[Default policies only]</b> The type of default policy. Values include:
</p>
<ul>
<li>
<p>
<code>VOLUME</code> - Default policy for EBS snapshots
</p>
</li>
<li>
<p>
<code>INSTANCE</code> - Default policy for EBS-backed AMIs
</p>
</li>
</ul>

@param defaultPolicy
       <b>[Default policies only]</b> The type of default policy. Values include:</p>
       <ul>
       <li>
       <p>
       <code>VOLUME</code> - Default policy for EBS snapshots
       </p>
       </li>
       <li>
       <p>
       <code>INSTANCE</code> - Default policy for EBS-backed AMIs
       </p>
       </li>
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/LifecyclePolicy.java