public class AddRoleToInstanceProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
AddRoleToInstanceProfileRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 add.
|
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 add.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddRoleToInstanceProfileRequest |
withInstanceProfileName(java.lang.String instanceProfileName)
Name of the instance profile to update.
|
AddRoleToInstanceProfileRequest |
withRoleName(java.lang.String roleName)
Name of the role to add.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 AddRoleToInstanceProfileRequest 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 add.public AddRoleToInstanceProfileRequest 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 add.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object