public class GetRoleResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful GetRole request.
Modifier and Type | Field and Description |
---|---|
private Role |
role
A structure containing details about the IAM role.
|
Constructor and Description |
---|
GetRoleResult() |
Modifier and Type | Method and Description |
---|---|
GetRoleResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Role |
getRole()
A structure containing details about the IAM role.
|
int |
hashCode() |
void |
setRole(Role role)
A structure containing details about the IAM role.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRoleResult |
withRole(Role role)
A structure containing details about the IAM role.
|
private Role role
A structure containing details about the IAM role.
public void setRole(Role role)
A structure containing details about the IAM role.
role
- A structure containing details about the IAM role.public Role getRole()
A structure containing details about the IAM role.
public GetRoleResult withRole(Role role)
A structure containing details about the IAM role.
role
- A structure containing details about the IAM role.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetRoleResult clone()
clone
in class java.lang.Object