@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceLinkedRoleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateServiceLinkedRoleResult () |
| Modifier and Type | Method and Description |
|---|---|
CreateServiceLinkedRoleResult |
clone () |
boolean |
equals (Object obj) |
Role |
getRole ()
A Role object that contains details about the newly created role.
|
int |
hashCode () |
void |
setRole (Role role)
A Role object that contains details about the newly created role.
|
String |
toString ()
Returns a string representation of this object.
|
CreateServiceLinkedRoleResult |
withRole (Role role)
A Role object that contains details about the newly created role.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public CreateServiceLinkedRoleResult()
public void setRole(Role role)
A Role object that contains details about the newly created role.
role - A Role object that contains details about the newly created role.public Role getRole()
A Role object that contains details about the newly created role.
public CreateServiceLinkedRoleResult withRole(Role role)
A Role object that contains details about the newly created role.
role - A Role object that contains details about the newly created role.public String toString()
toString in class Object Object.toString() public CreateServiceLinkedRoleResult clone()