@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteKeyPairRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteKeyPairRequest>
NOOP| Constructor and Description | 
|---|
| DeleteKeyPairRequest()Default constructor for DeleteKeyPairRequest object. | 
| DeleteKeyPairRequest(String keyName)Constructs a new DeleteKeyPairRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| DeleteKeyPairRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| Request<DeleteKeyPairRequest> | getDryRunRequest()This method is intended for internal use only. | 
| String | getKeyName()
 The name of the key pair. | 
| String | getKeyPairId()
 The ID of the key pair. | 
| int | hashCode() | 
| void | setKeyName(String keyName)
 The name of the key pair. | 
| void | setKeyPairId(String keyPairId)
 The ID of the key pair. | 
| String | toString()Returns a string representation of this object. | 
| DeleteKeyPairRequest | withKeyName(String keyName)
 The name of the key pair. | 
| DeleteKeyPairRequest | withKeyPairId(String keyPairId)
 The ID of the key pair. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteKeyPairRequest()
public DeleteKeyPairRequest(String keyName)
keyName - The name of the key pair.public void setKeyName(String keyName)
The name of the key pair.
keyName - The name of the key pair.public String getKeyName()
The name of the key pair.
public DeleteKeyPairRequest withKeyName(String keyName)
The name of the key pair.
keyName - The name of the key pair.public void setKeyPairId(String keyPairId)
The ID of the key pair.
keyPairId - The ID of the key pair.public String getKeyPairId()
The ID of the key pair.
public DeleteKeyPairRequest withKeyPairId(String keyPairId)
The ID of the key pair.
keyPairId - The ID of the key pair.public Request<DeleteKeyPairRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteKeyPairRequest>public String toString()
toString in class ObjectObject.toString()public DeleteKeyPairRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()