@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRoleResult extends AmazonWebServiceResult<ResponseMetadata> 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()
A structure containing details about the new role.
|
int |
hashCode() |
void |
setRole(Role role)
A structure containing details about the new role.
|
String |
toString()
Returns a string representation of this object.
|
CreateRoleResult |
withRole(Role role)
A structure containing details about the new role.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRole(Role role)
A structure containing details about the new role.
role
- A structure containing details about the new role.public Role getRole()
A structure containing details about the new role.
public CreateRoleResult withRole(Role role)
A structure containing details about the new role.
role
- A structure containing details about the new role.public String toString()
toString
in class Object
Object.toString()
public CreateRoleResult clone()