public RemovePermissionRequest withRemoveAllPermissions(Boolean removeAllPermissions) {
        setRemoveAllPermissions(removeAllPermissions);
        return this;
    }
<p>
Specifies whether to remove all permissions.
</p>

@param removeAllPermissions
       Specifies whether to remove all permissions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/RemovePermissionRequest.java