Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class CreateRoleResult

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.CreateRoleResult
All Implemented Interfaces:
Serializable

public class CreateRoleResult
extends Object
implements Serializable

Contains the result of a successful invocation of the CreateRole action.

See Also:
Serialized Form

Constructor Summary
CreateRoleResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateRoleResult

public CreateRoleResult()
Method Detail

getRole

public Role getRole()
Information about the role.

Returns:
Information about the role.

setRole

public void setRole(Role role)
Information about the role.

Parameters:
role - Information about the role.

withRole

public CreateRoleResult withRole(Role role)
Information about the role.

Returns a reference to this object so that method calls can be chained together.

Parameters:
role - Information about the role.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.