@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendSSHPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendSSHPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
SendSSHPublicKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The availability zone the EC2 instance was launched in.
|
String |
getInstanceId()
The EC2 instance you wish to publish the SSH key to.
|
String |
getInstanceOSUser()
The OS user on the EC2 instance whom the key may be used to authenticate as.
|
String |
getSSHPublicKey()
The public key to be published to the instance.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The availability zone the EC2 instance was launched in.
|
void |
setInstanceId(String instanceId)
The EC2 instance you wish to publish the SSH key to.
|
void |
setInstanceOSUser(String instanceOSUser)
The OS user on the EC2 instance whom the key may be used to authenticate as.
|
void |
setSSHPublicKey(String sSHPublicKey)
The public key to be published to the instance.
|
String |
toString()
Returns a string representation of this object.
|
SendSSHPublicKeyRequest |
withAvailabilityZone(String availabilityZone)
The availability zone the EC2 instance was launched in.
|
SendSSHPublicKeyRequest |
withInstanceId(String instanceId)
The EC2 instance you wish to publish the SSH key to.
|
SendSSHPublicKeyRequest |
withInstanceOSUser(String instanceOSUser)
The OS user on the EC2 instance whom the key may be used to authenticate as.
|
SendSSHPublicKeyRequest |
withSSHPublicKey(String sSHPublicKey)
The public key to be published to the instance.
|
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 setInstanceId(String instanceId)
The EC2 instance you wish to publish the SSH key to.
instanceId
- The EC2 instance you wish to publish the SSH key to.public String getInstanceId()
The EC2 instance you wish to publish the SSH key to.
public SendSSHPublicKeyRequest withInstanceId(String instanceId)
The EC2 instance you wish to publish the SSH key to.
instanceId
- The EC2 instance you wish to publish the SSH key to.public void setInstanceOSUser(String instanceOSUser)
The OS user on the EC2 instance whom the key may be used to authenticate as.
instanceOSUser
- The OS user on the EC2 instance whom the key may be used to authenticate as.public String getInstanceOSUser()
The OS user on the EC2 instance whom the key may be used to authenticate as.
public SendSSHPublicKeyRequest withInstanceOSUser(String instanceOSUser)
The OS user on the EC2 instance whom the key may be used to authenticate as.
instanceOSUser
- The OS user on the EC2 instance whom the key may be used to authenticate as.public void setSSHPublicKey(String sSHPublicKey)
The public key to be published to the instance. To use it after publication you must have the matching private key.
sSHPublicKey
- The public key to be published to the instance. To use it after publication you must have the matching
private key.public String getSSHPublicKey()
The public key to be published to the instance. To use it after publication you must have the matching private key.
public SendSSHPublicKeyRequest withSSHPublicKey(String sSHPublicKey)
The public key to be published to the instance. To use it after publication you must have the matching private key.
sSHPublicKey
- The public key to be published to the instance. To use it after publication you must have the matching
private key.public void setAvailabilityZone(String availabilityZone)
The availability zone the EC2 instance was launched in.
availabilityZone
- The availability zone the EC2 instance was launched in.public String getAvailabilityZone()
The availability zone the EC2 instance was launched in.
public SendSSHPublicKeyRequest withAvailabilityZone(String availabilityZone)
The availability zone the EC2 instance was launched in.
availabilityZone
- The availability zone the EC2 instance was launched in.public String toString()
toString
in class Object
Object.toString()
public SendSSHPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.