@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportSshPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportSshPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
ImportSshPublicKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getServerId()
A system-assigned unique identifier for a file transfer protocol-enabled server.
|
String |
getSshPublicKeyBody()
The public key portion of an SSH key pair.
|
String |
getUserName()
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
|
int |
hashCode() |
void |
setServerId(String serverId)
A system-assigned unique identifier for a file transfer protocol-enabled server.
|
void |
setSshPublicKeyBody(String sshPublicKeyBody)
The public key portion of an SSH key pair.
|
void |
setUserName(String userName)
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
|
String |
toString()
Returns a string representation of this object.
|
ImportSshPublicKeyRequest |
withServerId(String serverId)
A system-assigned unique identifier for a file transfer protocol-enabled server.
|
ImportSshPublicKeyRequest |
withSshPublicKeyBody(String sshPublicKeyBody)
The public key portion of an SSH key pair.
|
ImportSshPublicKeyRequest |
withUserName(String userName)
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
|
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 setServerId(String serverId)
A system-assigned unique identifier for a file transfer protocol-enabled server.
serverId
- A system-assigned unique identifier for a file transfer protocol-enabled server.public String getServerId()
A system-assigned unique identifier for a file transfer protocol-enabled server.
public ImportSshPublicKeyRequest withServerId(String serverId)
A system-assigned unique identifier for a file transfer protocol-enabled server.
serverId
- A system-assigned unique identifier for a file transfer protocol-enabled server.public void setSshPublicKeyBody(String sshPublicKeyBody)
The public key portion of an SSH key pair.
sshPublicKeyBody
- The public key portion of an SSH key pair.public String getSshPublicKeyBody()
The public key portion of an SSH key pair.
public ImportSshPublicKeyRequest withSshPublicKeyBody(String sshPublicKeyBody)
The public key portion of an SSH key pair.
sshPublicKeyBody
- The public key portion of an SSH key pair.public void setUserName(String userName)
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
userName
- The name of the user account that is assigned to one or more file transfer protocol-enabled servers.public String getUserName()
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
public ImportSshPublicKeyRequest withUserName(String userName)
The name of the user account that is assigned to one or more file transfer protocol-enabled servers.
userName
- The name of the user account that is assigned to one or more file transfer protocol-enabled servers.public String toString()
toString
in class Object
Object.toString()
public ImportSshPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()