public CreateTapePoolRequest withRetentionLockType(String retentionLockType) {
        setRetentionLockType(retentionLockType);
        return this;
    }
<p>
Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web Services
accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual
tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the
root Amazon Web Services account.
</p>

@param retentionLockType
       Tape retention lock can be configured in two modes. When configured in governance mode, Amazon Web
       Services accounts with specific IAM permissions are authorized to remove the tape retention lock from
       archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by
       any user, including the root Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
@see RetentionLockType
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/CreateTapePoolRequest.java