@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AclGrantee extends Object implements Serializable, Cloneable, StructuredPojo
You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see PutBucketAcl.
Constructor and Description |
---|
AclGrantee() |
Modifier and Type | Method and Description |
---|---|
AclGrantee |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The value specified is the canonical user ID of an Amazon Web Services account.
|
String |
getUri()
Used for granting permissions to a predefined group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The value specified is the canonical user ID of an Amazon Web Services account.
|
void |
setUri(String uri)
Used for granting permissions to a predefined group.
|
String |
toString()
Returns a string representation of this object.
|
AclGrantee |
withId(String id)
The value specified is the canonical user ID of an Amazon Web Services account.
|
AclGrantee |
withUri(String uri)
Used for granting permissions to a predefined group.
|
public void setId(String id)
The value specified is the canonical user ID of an Amazon Web Services account.
id
- The value specified is the canonical user ID of an Amazon Web Services account.public String getId()
The value specified is the canonical user ID of an Amazon Web Services account.
public AclGrantee withId(String id)
The value specified is the canonical user ID of an Amazon Web Services account.
id
- The value specified is the canonical user ID of an Amazon Web Services account.public void setUri(String uri)
Used for granting permissions to a predefined group.
uri
- Used for granting permissions to a predefined group.public String getUri()
Used for granting permissions to a predefined group.
public AclGrantee withUri(String uri)
Used for granting permissions to a predefined group.
uri
- Used for granting permissions to a predefined group.public String toString()
toString
in class Object
Object.toString()
public AclGrantee clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.