public class UploadSSHPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UploadSSHPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UploadSSHPublicKeyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSSHPublicKeyBody()
The SSH public key.
|
String |
getUserName()
The name of the IAM user to associate the SSH public key with.
|
int |
hashCode() |
void |
setSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key.
|
void |
setUserName(String userName)
The name of the IAM user to associate the SSH public key with.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UploadSSHPublicKeyRequest |
withSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key.
|
UploadSSHPublicKeyRequest |
withUserName(String userName)
The name of the IAM user to associate the SSH public key with.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserName(String userName)
The name of the IAM user to associate the SSH public key with.
userName
- The name of the IAM user to associate the SSH public key with.public String getUserName()
The name of the IAM user to associate the SSH public key with.
public UploadSSHPublicKeyRequest withUserName(String userName)
The name of the IAM user to associate the SSH public key with.
userName
- The name of the IAM user to associate the SSH public key with.public void setSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
sSHPublicKeyBody
- The SSH public key. The public key must be encoded in ssh-rsa
format or PEM format.public String getSSHPublicKeyBody()
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
public UploadSSHPublicKeyRequest withSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
sSHPublicKeyBody
- The SSH public key. The public key must be encoded in ssh-rsa
format or PEM format.public String toString()
toString
in class Object
Object.toString()
public UploadSSHPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.