public void setSnaplockType(String snaplockType) {
        this.snaplockType = snaplockType;
    }
<p>
Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can
choose one of the following retention modes:
</p>
<ul>
<li>
<p>
<code>COMPLIANCE</code>: Files transitioned to write once, read many (WORM) on a Compliance volume can't be
deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see <a
href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snaplock-compliance.html">SnapLock Compliance</a>.
</p>
</li>
<li>
<p>
<code>ENTERPRISE</code>: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users
before their retention periods expire using privileged delete. This retention mode is used to advance an
organization's data integrity and internal compliance or to test retention settings before using SnapLock
Compliance. For more information, see <a
href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snaplock-enterprise.html">SnapLock Enterprise</a>.
</p>
</li>
</ul>

@param snaplockType
       Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed.
       You can choose one of the following retention modes: </p>
       <ul>
       <li>
       <p>
       <code>COMPLIANCE</code>: Files transitioned to write once, read many (WORM) on a Compliance volume can't
       be deleted until their retention periods expire. This retention mode is used to address government or
       industry-specific mandates or to protect against ransomware attacks. For more information, see <a
       href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snaplock-compliance.html">SnapLock Compliance</a>.
       </p>
       </li>
       <li>
       <p>
       <code>ENTERPRISE</code>: Files transitioned to WORM on an Enterprise volume can be deleted by authorized
       users before their retention periods expire using privileged delete. This retention mode is used to
       advance an organization's data integrity and internal compliance or to test retention settings before
       using SnapLock Compliance. For more information, see <a
       href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snaplock-enterprise.html">SnapLock Enterprise</a>.
       </p>
       </li>
@see SnaplockType
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/CreateSnaplockConfiguration.java