public Integer getValue() {
        return this.value;
    }
<p>
Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. You can't set a value
for <code>INFINITE</code> or <code>UNSPECIFIED</code>. For all other options, the following ranges are valid:
</p>
<ul>
<li>
<p>
<code>Seconds</code>: 0 - 65,535
</p>
</li>
<li>
<p>
<code>Minutes</code>: 0 - 65,535
</p>
</li>
<li>
<p>
<code>Hours</code>: 0 - 24
</p>
</li>
<li>
<p>
<code>Days</code>: 0 - 365
</p>
</li>
<li>
<p>
<code>Months</code>: 0 - 12
</p>
</li>
<li>
<p>
<code>Years</code>: 0 - 100
</p>
</li>
</ul>

@return Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. You can't set a
        value for <code>INFINITE</code> or <code>UNSPECIFIED</code>. For all other options, the following ranges
        are valid: </p>
        <ul>
        <li>
        <p>
        <code>Seconds</code>: 0 - 65,535
        </p>
        </li>
        <li>
        <p>
        <code>Minutes</code>: 0 - 65,535
        </p>
        </li>
        <li>
        <p>
        <code>Hours</code>: 0 - 24
        </p>
        </li>
        <li>
        <p>
        <code>Days</code>: 0 - 365
        </p>
        </li>
        <li>
        <p>
        <code>Months</code>: 0 - 12
        </p>
        </li>
        <li>
        <p>
        <code>Years</code>: 0 - 100
        </p>
        </li>
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/RetentionPeriod.java