public class GetRoleResult
extends java.lang.Object
implements java.io.Serializable
Contains the result of a successful invocation of the GetRole action.
| コンストラクタと説明 |
|---|
GetRoleResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
Role |
getRole()
Information about the role.
|
int |
hashCode() |
void |
setRole(Role role)
Information about the role.
|
java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object