|
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.RemoveRoleFromInstanceProfileRequest
public class RemoveRoleFromInstanceProfileRequest
Container for the parameters to the RemoveRoleFromInstanceProfile operation.
Removes the specified role from the specified instance profile.
IMPORTANT:Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance will break any applications running on the instance.
For more information about roles, go to Working with Roles . For more information about instance profiles, go to About Instance Profiles .
AmazonIdentityManagement.removeRoleFromInstanceProfile(RemoveRoleFromInstanceProfileRequest),
Serialized Form| Constructor Summary | |
|---|---|
RemoveRoleFromInstanceProfileRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInstanceProfileName()
Name of the instance profile to update. |
java.lang.String |
getRoleName()
Name of the role to remove. |
int |
hashCode()
|
void |
setInstanceProfileName(java.lang.String instanceProfileName)
Name of the instance profile to update. |
void |
setRoleName(java.lang.String roleName)
Name of the role to remove. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RemoveRoleFromInstanceProfileRequest |
withInstanceProfileName(java.lang.String instanceProfileName)
Name of the instance profile to update. |
RemoveRoleFromInstanceProfileRequest |
withRoleName(java.lang.String roleName)
Name of the role to remove. |
| 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 RemoveRoleFromInstanceProfileRequest()
| Method Detail |
|---|
public java.lang.String getInstanceProfileName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setInstanceProfileName(java.lang.String instanceProfileName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
instanceProfileName - Name of the instance profile to update.public RemoveRoleFromInstanceProfileRequest withInstanceProfileName(java.lang.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 update.
public java.lang.String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(java.lang.String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role to remove.public RemoveRoleFromInstanceProfileRequest withRoleName(java.lang.String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role to remove.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||