public class CreateRoleResult extends Object implements Serializable, Cloneable
Contains the response to a successful CreateRole request.
Constructor and Description |
---|
CreateRoleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRoleResult |
clone() |
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()
public CreateRoleResult clone()
Copyright © 2015. All rights reserved.