@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteKeyPairRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteKeyPairRequest() |
| 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) |
String |
getExpectedFingerprint()
The RSA fingerprint of the Lightsail default key pair to delete.
|
String |
getKeyPairName()
The name of the key pair to delete.
|
int |
hashCode() |
void |
setExpectedFingerprint(String expectedFingerprint)
The RSA fingerprint of the Lightsail default key pair to delete.
|
void |
setKeyPairName(String keyPairName)
The name of the key pair to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteKeyPairRequest |
withExpectedFingerprint(String expectedFingerprint)
The RSA fingerprint of the Lightsail default key pair to delete.
|
DeleteKeyPairRequest |
withKeyPairName(String keyPairName)
The name of the key pair to delete.
|
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 void setKeyPairName(String keyPairName)
The name of the key pair to delete.
keyPairName - The name of the key pair to delete.public String getKeyPairName()
The name of the key pair to delete.
public DeleteKeyPairRequest withKeyPairName(String keyPairName)
The name of the key pair to delete.
keyPairName - The name of the key pair to delete.public void setExpectedFingerprint(String expectedFingerprint)
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key
pair.
expectedFingerprint - The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail
default key pair.
public String getExpectedFingerprint()
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key
pair.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail
default key pair.
public DeleteKeyPairRequest withExpectedFingerprint(String expectedFingerprint)
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key
pair.
expectedFingerprint - The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint parameter is required only when specifying to delete a Lightsail
default key pair.
public String toString()
toString in class ObjectObject.toString()public DeleteKeyPairRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()