public class GetInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 .
NOOP
Constructor and Description |
---|
GetInstanceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
GetInstanceProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getInstanceProfileName()
The name of the instance profile to get information about.
|
int |
hashCode() |
void |
setInstanceProfileName(String instanceProfileName)
The 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)
The name of the instance profile to get information about.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
public void setInstanceProfileName(String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
instanceProfileName
- The 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
- The name of the instance profile to get information about.public String toString()
toString
in class Object
Object.toString()
public GetInstanceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.