public class GetRoleResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetRole request.
Constructor and Description |
---|
GetRoleResult() |
Modifier and Type | Method and Description |
---|---|
GetRoleResult |
clone() |
boolean |
equals(Object obj) |
Role |
getRole()
Information about the role.
|
int |
hashCode() |
void |
setRole(Role role)
Information about the role.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRoleResult |
withRole(Role role)
Information about the role.
|
public Role getRole()
public void setRole(Role role)
role
- Information about the role.public GetRoleResult withRole(Role role)
Returns a reference to this object so that method calls can be chained together.
role
- Information about the role.public String toString()
toString
in class Object
Object.toString()
public GetRoleResult clone()
Copyright © 2015. All rights reserved.