com.amazonaws.services.ec2.model
Class DeleteKeyPairRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteKeyPairRequest

public class DeleteKeyPairRequest
extends AmazonWebServiceRequest

Represents a request to delete an Amazon EC2 key pair.


Constructor Summary
DeleteKeyPairRequest()
           
 
Method Summary
 String getKeyName()
          The name of the Amazon EC2 key pair to delete.
 void setKeyName(String keyName)
          The name of the Amazon EC2 key pair to delete.
 String toString()
           
 DeleteKeyPairRequest withKeyName(String keyName)
          The name of the Amazon EC2 key pair to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteKeyPairRequest

public DeleteKeyPairRequest()
Method Detail

getKeyName

public String getKeyName()
The name of the Amazon EC2 key pair to delete.

Returns:
The name of the Amazon EC2 key pair to delete.

setKeyName

public void setKeyName(String keyName)
The name of the Amazon EC2 key pair to delete.

Parameters:
keyName - The name of the Amazon EC2 key pair to delete.

withKeyName

public DeleteKeyPairRequest withKeyName(String keyName)
The name of the Amazon EC2 key pair to delete.

Returns a reference to this object so that method calls can be chained together.

Parameters:
keyName - The name of the Amazon EC2 key pair to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.