Open hrchu opened 4 years ago
Currently, we can set options by, for example, rgwAdmin.setUserQuota(java.lang.String userId, long maxObjects, long maxSizeKB)
rgwAdmin.setUserQuota(java.lang.String userId, long maxObjects, long maxSizeKB)
Add an overloaded method such as rgwAdmin.setUserQuota(Quota quota), so that user can :
rgwAdmin.setUserQuota(Quota quota)
Quota quota = rgwAdm.getUserQuota(userId) quota.setMaxObjects = 5566 rgwAdm.setUserQuota(quota)
All "set" methods listed in https://www.javadoc.io/static/io.github.twonote/radosgw-admin4j/2.0.2/org/twonote/rgwadmin4j/RgwAdmin.html are needed to be overloaded.
Currently, we can set options by, for example,
rgwAdmin.setUserQuota(java.lang.String userId, long maxObjects, long maxSizeKB)
Add an overloaded method such as
rgwAdmin.setUserQuota(Quota quota)
, so that user can :All "set" methods listed in https://www.javadoc.io/static/io.github.twonote/radosgw-admin4j/2.0.2/org/twonote/rgwadmin4j/RgwAdmin.html are needed to be overloaded.