public DeleteDataSourceRequest withRetainPermissionsOnRevokeFailure(Boolean retainPermissionsOnRevokeFailure) {
        setRetainPermissionsOnRevokeFailure(retainPermissionsOnRevokeFailure);
        return this;
    }
<p>
Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data
source.
</p>

@param retainPermissionsOnRevokeFailure
       Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for
       a data source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/DeleteDataSourceRequest.java