public class GetInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable
GetInstanceProfile operation.
Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, go to About Instance Profiles . For more information about ARNs, go to ARNs .
| Constructor and Description |
|---|
GetInstanceProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getInstanceProfileName()
Name of the instance profile to get information about.
|
int |
hashCode() |
void |
setInstanceProfileName(String instanceProfileName)
Name of the instance profile to get information about.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
Name of the instance profile to get information about.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setInstanceProfileName(String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName - Name of the instance profile to get information about.public GetInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName - Name of the instance profile to get information about.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.