|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteKeyPairRequest
public class DeleteKeyPairRequest
Container for the parameters to the DeleteKeyPair operation
.
The DeleteKeyPair operation deletes a key pair.
AmazonEC2.deleteKeyPair(DeleteKeyPairRequest)
Constructor Summary | |
---|---|
DeleteKeyPairRequest()
Default constructor for a new DeleteKeyPairRequest object. |
|
DeleteKeyPairRequest(String keyName)
Constructs a new DeleteKeyPairRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getKeyName()
The name of the Amazon EC2 key pair to delete. |
int |
hashCode()
|
void |
setKeyName(String keyName)
The name of the Amazon EC2 key pair to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteKeyPairRequest |
withKeyName(String keyName)
The name of the Amazon EC2 key pair to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteKeyPairRequest()
public DeleteKeyPairRequest(String keyName)
keyName
- The name of the Amazon EC2 key pair to delete.Method Detail |
---|
public String getKeyName()
public void setKeyName(String keyName)
keyName
- The name of the Amazon EC2 key pair to delete.public DeleteKeyPairRequest withKeyName(String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName
- The name of the Amazon EC2 key pair to delete.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |