public class Grant
extends java.lang.Object
Grant(Grantee, Permission)| Constructor 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(java.lang.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() |
java.lang.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()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.