@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoleResult extends AmazonWebServiceResult<ResponseMetadata> 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()
A structure containing details about the IAM role.
|
int |
hashCode() |
void |
setRole(Role role)
A structure containing details about the IAM role.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 String toString()
toString
in class Object
Object.toString()
public GetRoleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.