public class GetRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetRole operation.
Retrieves information about the specified role, including the role's path, GUID, ARN, and the policy granting permission to assume the role. For more information about ARNs, go to ARNs . For more information about roles, go to Working with Roles .
NOOP| Constructor and Description |
|---|
GetRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetRoleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getRoleName()
The name of the role to get information about.
|
int |
hashCode() |
void |
setRoleName(String roleName)
The name of the role to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRoleRequest |
withRoleName(String roleName)
The name of the role to get information about.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name of the role to get information about.public GetRoleRequest withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name of the role to get information about.public String toString()
toString in class ObjectObject.toString()public GetRoleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.