@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PermissionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes the permissions.
| Constructor and Description |
|---|
PermissionInfo() |
| Modifier and Type | Method and Description |
|---|---|
PermissionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getRole()
The role of the user.
|
String |
getType()
The type of permissions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRole(RoleType role)
The role of the user.
|
void |
setRole(String role)
The role of the user.
|
void |
setType(RolePermissionType type)
The type of permissions.
|
void |
setType(String type)
The type of permissions.
|
String |
toString()
Returns a string representation of this object.
|
PermissionInfo |
withRole(RoleType role)
The role of the user.
|
PermissionInfo |
withRole(String role)
The role of the user.
|
PermissionInfo |
withType(RolePermissionType type)
The type of permissions.
|
PermissionInfo |
withType(String type)
The type of permissions.
|
public void setRole(String role)
The role of the user.
role - The role of the user.RoleTypepublic String getRole()
The role of the user.
RoleTypepublic PermissionInfo withRole(String role)
The role of the user.
role - The role of the user.RoleTypepublic void setRole(RoleType role)
The role of the user.
role - The role of the user.RoleTypepublic PermissionInfo withRole(RoleType role)
The role of the user.
role - The role of the user.RoleTypepublic void setType(String type)
The type of permissions.
type - The type of permissions.RolePermissionTypepublic String getType()
The type of permissions.
RolePermissionTypepublic PermissionInfo withType(String type)
The type of permissions.
type - The type of permissions.RolePermissionTypepublic void setType(RolePermissionType type)
The type of permissions.
type - The type of permissions.RolePermissionTypepublic PermissionInfo withType(RolePermissionType type)
The type of permissions.
type - The type of permissions.RolePermissionTypepublic String toString()
toString in class ObjectObject.toString()public PermissionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.