@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoleCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetRoleCredentialsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetRoleCredentialsResult |
clone() |
boolean |
equals(Object obj) |
RoleCredentials |
getRoleCredentials()
The credentials for the role that is assigned to the user.
|
int |
hashCode() |
void |
setRoleCredentials(RoleCredentials roleCredentials)
The credentials for the role that is assigned to the user.
|
String |
toString()
Returns a string representation of this object.
|
GetRoleCredentialsResult |
withRoleCredentials(RoleCredentials roleCredentials)
The credentials for the role that is assigned to the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setRoleCredentials(RoleCredentials roleCredentials)
The credentials for the role that is assigned to the user.
roleCredentials - The credentials for the role that is assigned to the user.public RoleCredentials getRoleCredentials()
The credentials for the role that is assigned to the user.
public GetRoleCredentialsResult withRoleCredentials(RoleCredentials roleCredentials)
The credentials for the role that is assigned to the user.
roleCredentials - The credentials for the role that is assigned to the user.public String toString()
toString in class ObjectObject.toString()public GetRoleCredentialsResult clone()