public void setRetentionPeriod(SnaplockRetentionPeriod retentionPeriod) {
        this.retentionPeriod = retentionPeriod;
    }
<p>
Specifies the retention period of an FSx for ONTAP SnapLock volume.
</p>

@param retentionPeriod
       Specifies the retention period of an FSx for ONTAP SnapLock volume.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/UpdateSnaplockConfiguration.java