@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKeyPairRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetKeyPairRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetKeyPairRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyPairName()
The name of the key pair for which you are requesting information.
|
int |
hashCode() |
void |
setKeyPairName(String keyPairName)
The name of the key pair for which you are requesting information.
|
String |
toString()
Returns a string representation of this object.
|
GetKeyPairRequest |
withKeyPairName(String keyPairName)
The name of the key pair for which you are requesting information.
|
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 for which you are requesting information.
keyPairName - The name of the key pair for which you are requesting information.public String getKeyPairName()
The name of the key pair for which you are requesting information.
public GetKeyPairRequest withKeyPairName(String keyPairName)
The name of the key pair for which you are requesting information.
keyPairName - The name of the key pair for which you are requesting information.public String toString()
toString in class ObjectObject.toString()public GetKeyPairRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()