@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
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 setUserName(String userName)
The name of the IAM user to associate the SSH public key with.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the IAM user to associate the SSH public key with.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getUserName()
The name of the IAM user to associate the SSH public key with.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public UploadSSHPublicKeyRequest withUserName(String userName)
The name of the IAM user to associate the SSH public key with.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the IAM user to associate the SSH public key with.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public void setSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of the ASCII
character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
sSHPublicKeyBody - The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length
of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file
is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of
the ASCII character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
public String getSSHPublicKeyBody()
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of the ASCII
character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of
the ASCII character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
public UploadSSHPublicKeyRequest withSSHPublicKeyBody(String sSHPublicKeyBody)
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of the ASCII
character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
sSHPublicKeyBody - The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length
of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file
is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of
the ASCII character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
public String toString()
toString in class ObjectObject.toString()public UploadSSHPublicKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()