|
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.AddRoleToInstanceProfileRequest
public class AddRoleToInstanceProfileRequest
Container for the parameters to the AddRoleToInstanceProfile operation.
Adds the specified role to the specified instance profile. For more information about roles, go to Working with Roles . For more information about instance profiles, go to About Instance Profiles .
AmazonIdentityManagement.addRoleToInstanceProfile(AddRoleToInstanceProfileRequest),
Serialized Form| Constructor Summary | |
|---|---|
AddRoleToInstanceProfileRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getInstanceProfileName()
Name of the instance profile to update. |
String |
getRoleName()
Name of the role to add. |
int |
hashCode()
|
void |
setInstanceProfileName(String instanceProfileName)
Name of the instance profile to update. |
void |
setRoleName(String roleName)
Name of the role to add. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddRoleToInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
Name of the instance profile to update. |
AddRoleToInstanceProfileRequest |
withRoleName(String roleName)
Name of the role to add. |
| 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 AddRoleToInstanceProfileRequest()
| 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 update.public AddRoleToInstanceProfileRequest 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 update.
public String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role to add.public AddRoleToInstanceProfileRequest withRoleName(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 add.
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 | ||||||