public class Grant extends Object implements Serializable
Grant(Grantee, Permission)
,
Serialized FormConstructor and Description |
---|
Grant(Grantee grantee,
Permission permission)
Constructs a new
Grant object using the specified grantee and permission
objects. |
Modifier and Type | Method and Description |
---|---|
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() |
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.public Grantee getGrantee()
getPermission()
public Permission getPermission()
getGrantee()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.