public class GrantAndPermission extends Object
AccessControlList
Constructor and Description |
---|
GrantAndPermission(GranteeInterface grantee,
Permission permission)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GranteeInterface |
getGrantee()
Obtain the grantee (group) information.
|
Permission |
getPermission()
Obtain the permission information.
|
int |
hashCode() |
boolean |
isDelivered()
Check whether the bucket ACL is deliverable.
|
void |
setDelivered(boolean delivered)
Specify whether to deliver the bucket ACL.
|
String |
toString() |
public GrantAndPermission(GranteeInterface grantee, Permission permission)
grantee
- Grantee (group) namepermission
- Permission informationpublic GranteeInterface getGrantee()
public Permission getPermission()
public boolean isDelivered()
public void setDelivered(boolean delivered)
delivered
- Whether to deliver the bucket ACLCopyright © 2019. All rights reserved.