public class DeleteInstanceProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
DeleteInstanceProfileRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceProfileName()
Name of the instance profile to delete.
|
int |
hashCode() |
void |
setInstanceProfileName(java.lang.String instanceProfileName)
Name of the instance profile to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteInstanceProfileRequest |
withInstanceProfileName(java.lang.String instanceProfileName)
Name of the instance profile to delete.
|
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 delete.public DeleteInstanceProfileRequest 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 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