@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendSerialConsoleSSHPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendSerialConsoleSSHPublicKeyRequest() |
Modifier and Type | Method and Description |
---|---|
SendSerialConsoleSSHPublicKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the EC2 instance.
|
Integer |
getSerialPort()
The serial port of the EC2 instance.
|
String |
getSSHPublicKey()
The public key material.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the EC2 instance.
|
void |
setSerialPort(Integer serialPort)
The serial port of the EC2 instance.
|
void |
setSSHPublicKey(String sSHPublicKey)
The public key material.
|
String |
toString()
Returns a string representation of this object.
|
SendSerialConsoleSSHPublicKeyRequest |
withInstanceId(String instanceId)
The ID of the EC2 instance.
|
SendSerialConsoleSSHPublicKeyRequest |
withSerialPort(Integer serialPort)
The serial port of the EC2 instance.
|
SendSerialConsoleSSHPublicKeyRequest |
withSSHPublicKey(String sSHPublicKey)
The public key material.
|
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 SendSerialConsoleSSHPublicKeyRequest()
public void setInstanceId(String instanceId)
The ID of the EC2 instance.
instanceId
- The ID of the EC2 instance.public String getInstanceId()
The ID of the EC2 instance.
public SendSerialConsoleSSHPublicKeyRequest withInstanceId(String instanceId)
The ID of the EC2 instance.
instanceId
- The ID of the EC2 instance.public void setSerialPort(Integer serialPort)
The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
serialPort
- The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
public Integer getSerialPort()
The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
Default: 0
public SendSerialConsoleSSHPublicKeyRequest withSerialPort(Integer serialPort)
The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
serialPort
- The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
public void setSSHPublicKey(String sSHPublicKey)
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
sSHPublicKey
- The public key material. To use the public key, you must have the matching private key. For information
about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.public String getSSHPublicKey()
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
public SendSerialConsoleSSHPublicKeyRequest withSSHPublicKey(String sSHPublicKey)
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
sSHPublicKey
- The public key material. To use the public key, you must have the matching private key. For information
about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public SendSerialConsoleSSHPublicKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()