@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSSHPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSSHPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
GetSSHPublicKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEncoding()
Specifies the public key encoding format to use in the response.
|
String |
getSSHPublicKeyId()
The unique identifier for the SSH public key.
|
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(String encoding)
Specifies the public key encoding format to use in the response.
|
void |
setSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
void |
setUserName(String userName)
The name of the IAM user associated with the SSH public key.
|
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(String encoding)
Specifies the public key encoding format to use in the response.
|
GetSSHPublicKeyRequest |
withSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
GetSSHPublicKeyRequest |
withUserName(String userName)
The name of the IAM user associated with the SSH public key.
|
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 setUserName(String userName)
The name of the IAM user associated with the SSH public key.
This parameter allows (per 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 associated with the SSH public key.
This parameter allows (per 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 associated with the SSH public key.
This parameter allows (per 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 (per 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 GetSSHPublicKeyRequest withUserName(String userName)
The name of the IAM user associated with the SSH public key.
This parameter allows (per 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 associated with the SSH public key.
This parameter allows (per 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 setSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId
- The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public String getSSHPublicKeyId()
The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public GetSSHPublicKeyRequest withSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId
- The unique identifier for the SSH public key.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public void setEncoding(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 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(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 String toString()
toString
in class Object
Object.toString()
public GetSSHPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.