public class GetSSHPublicKeyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
encoding
Specifies the public key encoding format to use in the response.
|
private java.lang.String |
sSHPublicKeyId
The unique identifier for the SSH public key.
|
private java.lang.String |
userName
The name of the IAM user associated with the SSH public key.
|
NOOP
Constructor and Description |
---|
GetSSHPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
GetSSHPublicKeyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEncoding()
Specifies the public key encoding format to use in the response.
|
java.lang.String |
getSSHPublicKeyId()
The unique identifier for the SSH public key.
|
java.lang.String |
getUserName()
The name of the IAM user associated with the SSH public key.
|
int |
hashCode() |
void |
setEncoding(EncodingType encoding)
Specifies the public key encoding format to use in the response.
|
void |
setEncoding(java.lang.String encoding)
Specifies the public key encoding format to use in the response.
|
void |
setSSHPublicKeyId(java.lang.String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
void |
setUserName(java.lang.String userName)
The name of the IAM user associated with the SSH public key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSSHPublicKeyRequest |
withEncoding(EncodingType encoding)
Specifies the public key encoding format to use in the response.
|
GetSSHPublicKeyRequest |
withEncoding(java.lang.String encoding)
Specifies the public key encoding format to use in the response.
|
GetSSHPublicKeyRequest |
withSSHPublicKeyId(java.lang.String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
GetSSHPublicKeyRequest |
withUserName(java.lang.String userName)
The name of the IAM user associated with the SSH public key.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userName
The name of the IAM user associated with the SSH public key.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
private java.lang.String sSHPublicKeyId
The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
private java.lang.String encoding
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
public void setUserName(java.lang.String userName)
The name of the IAM user associated with the SSH public key.
The regex pattern for this parameter is 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 associated with the SSH public key.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String getUserName()
The name of the IAM user associated with the SSH public key.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public GetSSHPublicKeyRequest withUserName(java.lang.String userName)
The name of the IAM user associated with the SSH public key.
The regex pattern for this parameter is 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 associated with the SSH public key.
The regex pattern for this parameter is 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 setSSHPublicKeyId(java.lang.String sSHPublicKeyId)
The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId
- The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public java.lang.String getSSHPublicKeyId()
The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public GetSSHPublicKeyRequest withSSHPublicKeyId(java.lang.String sSHPublicKeyId)
The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId
- The unique identifier for the SSH public key.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public void setEncoding(java.lang.String encoding)
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
encoding
- Specifies the public key encoding format to use in the response.
To retrieve the public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM format, use PEM
.EncodingType
public java.lang.String getEncoding()
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
SSH
. To retrieve the public key in PEM format, use
PEM
.EncodingType
public GetSSHPublicKeyRequest withEncoding(java.lang.String encoding)
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
encoding
- Specifies the public key encoding format to use in the response.
To retrieve the public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM format, use PEM
.EncodingType
public void setEncoding(EncodingType encoding)
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
encoding
- Specifies the public key encoding format to use in the response.
To retrieve the public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM format, use PEM
.EncodingType
public GetSSHPublicKeyRequest withEncoding(EncodingType encoding)
Specifies the public key encoding format to use in the response. To
retrieve the public key in ssh-rsa format, use SSH
. To
retrieve the public key in PEM format, use PEM
.
encoding
- Specifies the public key encoding format to use in the response.
To retrieve the public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM format, use PEM
.EncodingType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetSSHPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()