public class GetRoleResult extends Object implements Serializable
Contains the result of a successful invocation of the GetRole action.
Constructor and Description |
---|
GetRoleResult() |
Modifier and Type | Method and Description |
---|---|
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()
Copyright © 2014. All rights reserved.