org.jclouds.s3.domain
Class AccessControlList.Grant

java.lang.Object
  extended by org.jclouds.s3.domain.AccessControlList.Grant
All Implemented Interfaces:
Comparable<AccessControlList.Grant>
Enclosing class:
AccessControlList

public static class AccessControlList.Grant
extends Object
implements Comparable<AccessControlList.Grant>


Constructor Summary
AccessControlList.Grant(AccessControlList.Grantee grantee, String permission)
           
 
Method Summary
 int compareTo(AccessControlList.Grant o)
           
 boolean equals(Object obj)
           
 AccessControlList.Grantee getGrantee()
           
 String getPermission()
           
 int hashCode()
           
 void setGrantee(AccessControlList.Grantee grantee)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessControlList.Grant

public AccessControlList.Grant(AccessControlList.Grantee grantee,
                               String permission)
Method Detail

getGrantee

public AccessControlList.Grantee getGrantee()

setGrantee

public void setGrantee(AccessControlList.Grantee grantee)

getPermission

public String getPermission()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(AccessControlList.Grant o)
Specified by:
compareTo in interface Comparable<AccessControlList.Grant>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.