@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteKeyPairRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteKeyPairRequest>
Contains the parameters for DeleteKeyPair.
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.
|
int |
hashCode() |
void |
setKeyName(String keyName)
The name of the key pair.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteKeyPairRequest |
withKeyName(String keyName)
The name 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, withSdkRequestTimeout
public 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 Request<DeleteKeyPairRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteKeyPairRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteKeyPairRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.