public class CreateRoleResult extends Object implements Serializable
Contains the result of a successful invocation of the CreateRole action.
Constructor and Description |
---|
CreateRoleResult() |
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.
|
CreateRoleResult |
withRole(Role role)
Information about the role.
|
public Role getRole()
public void setRole(Role role)
role
- Information about the role.public CreateRoleResult 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.