Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class GetInstanceProfileRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.GetInstanceProfileRequest
All Implemented Interfaces:
Serializable

public class GetInstanceProfileRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 .

See Also:
AmazonIdentityManagement.getInstanceProfile(GetInstanceProfileRequest), Serialized Form

Constructor Summary
GetInstanceProfileRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetInstanceProfileRequest

public GetInstanceProfileRequest()
Method Detail

getInstanceProfileName

public String getInstanceProfileName()
Name of the instance profile to get information about.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
Name of the instance profile to get information about.

setInstanceProfileName

public void setInstanceProfileName(String instanceProfileName)
Name of the instance profile to get information about.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
instanceProfileName - Name of the instance profile to get information about.

withInstanceProfileName

public GetInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
Name of the instance profile to get information about.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
instanceProfileName - Name of the instance profile to get information about.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.