|
|||||||
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
.
Deletes the specified key pair, by removing the public key from Amazon EC2.
AmazonEC2.deleteKeyPair(DeleteKeyPairRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteKeyPairRequest()
Default constructor for a new DeleteKeyPairRequest object. |
|
DeleteKeyPairRequest(java.lang.String keyName)
Constructs a new DeleteKeyPairRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Request<DeleteKeyPairRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getKeyName()
The name of the key pair. |
int |
hashCode()
|
void |
setKeyName(java.lang.String keyName)
The name of the key pair. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteKeyPairRequest |
withKeyName(java.lang.String keyName)
The name of the key pair. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteKeyPairRequest()
public DeleteKeyPairRequest(java.lang.String keyName)
keyName
- The name of the key pair.Method Detail |
---|
public java.lang.String getKeyName()
public void setKeyName(java.lang.String keyName)
keyName
- The name of the key pair.public DeleteKeyPairRequest withKeyName(java.lang.String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName
- The name of the key pair.
public Request<DeleteKeyPairRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteKeyPairRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |