@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 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 servers.
|
int |
hashCode() |
void |
setServerId(String serverId)
A system-assigned unique identifier for a 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 servers.
|
String |
toString()
Returns a string representation of this object.
|
ImportSshPublicKeyRequest |
withServerId(String serverId)
A system-assigned unique identifier for a 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 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 server.
serverId
- A system-assigned unique identifier for a server.public String getServerId()
A system-assigned unique identifier for a server.
public ImportSshPublicKeyRequest withServerId(String serverId)
A system-assigned unique identifier for a server.
serverId
- A system-assigned unique identifier for a 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 servers.
userName
- The name of the user account that is assigned to one or more servers.public String getUserName()
The name of the user account that is assigned to one or more servers.
public ImportSshPublicKeyRequest withUserName(String userName)
The name of the user account that is assigned to one or more servers.
userName
- The name of the user account that is assigned to one or more servers.public String toString()
toString
in class Object
Object.toString()
public ImportSshPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()