@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportKeyPairRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportKeyPairRequest() |
Modifier and Type | Method and Description |
---|---|
ImportKeyPairRequest |
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 want to import the public key.
|
String |
getPublicKeyBase64()
A base64-encoded public key of the
ssh-rsa type. |
int |
hashCode() |
void |
setKeyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
|
void |
setPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportKeyPairRequest |
withKeyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
|
ImportKeyPairRequest |
withPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
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 void setKeyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
keyPairName
- The name of the key pair for which you want to import the public key.public String getKeyPairName()
The name of the key pair for which you want to import the public key.
public ImportKeyPairRequest withKeyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
keyPairName
- The name of the key pair for which you want to import the public key.public void setPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the ssh-rsa
type.
publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.public String getPublicKeyBase64()
A base64-encoded public key of the ssh-rsa
type.
ssh-rsa
type.public ImportKeyPairRequest withPublicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the ssh-rsa
type.
publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.public String toString()
toString
in class Object
Object.toString()
public ImportKeyPairRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.