|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.DeleteInstanceProfileRequest
public class DeleteInstanceProfileRequest
Container for the parameters to the DeleteInstanceProfile operation.
Deletes the specified instance profile. The instance profile must not have an associated role.
IMPORTANT:Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.
For more information about instance profiles, go to About Instance Profiles .
AmazonIdentityManagement.deleteInstanceProfile(DeleteInstanceProfileRequest),
Serialized Form| Constructor Summary | |
|---|---|
DeleteInstanceProfileRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getInstanceProfileName()
Name of the instance profile to delete. |
int |
hashCode()
|
void |
setInstanceProfileName(String instanceProfileName)
Name of the instance profile to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
Name of the instance profile to delete. |
| 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 |
|---|
public DeleteInstanceProfileRequest()
| Method Detail |
|---|
public 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 delete.public DeleteInstanceProfileRequest 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 delete.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||