@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.RoleType
public String getRole()
The role of the user.
RoleType
public PermissionInfo withRole(String role)
The role of the user.
role
- The role of the user.RoleType
public void setRole(RoleType role)
The role of the user.
role
- The role of the user.RoleType
public PermissionInfo withRole(RoleType role)
The role of the user.
role
- The role of the user.RoleType
public void setType(String type)
The type of permissions.
type
- The type of permissions.RolePermissionType
public String getType()
The type of permissions.
RolePermissionType
public PermissionInfo withType(String type)
The type of permissions.
type
- The type of permissions.RolePermissionType
public void setType(RolePermissionType type)
The type of permissions.
type
- The type of permissions.RolePermissionType
public PermissionInfo withType(RolePermissionType type)
The type of permissions.
type
- The type of permissions.RolePermissionType
public String toString()
toString
in class Object
Object.toString()
public PermissionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.