public class DeleteRoleRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteRole operation.
Deletes the specified role. The role must not have any policies attached. For more information about roles, go to Working with Roles .
IMPORTANT:Make sure you do not have any Amazon EC2 instances running with the role 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.
| コンストラクタと説明 |
|---|
DeleteRoleRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRoleName()
Name of the role to delete.
|
int |
hashCode() |
void |
setRoleName(java.lang.String roleName)
Name of the role to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRoleRequest |
withRoleName(java.lang.String roleName)
Name of the role to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 delete.public DeleteRoleRequest 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 delete.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