public DeleteTapeRequest withBypassGovernanceRetention(Boolean bypassGovernanceRetention) {
        setBypassGovernanceRetention(bypassGovernanceRetention);
        return this;
    }
<p>
Set to <code>TRUE</code> to delete an archived tape that belongs to a custom pool with tape retention lock. Only
archived tapes with tape retention lock set to <code>governance</code> can be deleted. Archived tapes with tape
retention lock set to <code>compliance</code> can't be deleted.
</p>

@param bypassGovernanceRetention
       Set to <code>TRUE</code> to delete an archived tape that belongs to a custom pool with tape retention
       lock. Only archived tapes with tape retention lock set to <code>governance</code> can be deleted. Archived
       tapes with tape retention lock set to <code>compliance</code> can't be deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/DeleteTapeRequest.java