|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.Grant
public class Grant
Specifies a grant, consisting of one grantee and one permission.
Grant(Grantee, Permission)
Constructor Summary | |
---|---|
Grant(Grantee grantee,
Permission permission)
Constructs a new Grant object using the specified grantee and permission
objects. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Grantee |
getGrantee()
Gets the grantee being granted a permission by this grant. |
Permission |
getPermission()
Gets the permission being granted to the grantee by this grant. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Grant(Grantee grantee, Permission permission)
Grant
object using the specified grantee and permission
objects.
grantee
- The grantee being granted a permission by this grant.permission
- The permission being granted to the grantee by this grant.Method Detail |
---|
public Grantee getGrantee()
getPermission()
public Permission getPermission()
getGrantee()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |