@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHostname()
The instance's host name.
|
InstanceIdentity |
getInstanceIdentity()
An InstanceIdentity object that contains the instance's identity.
|
String |
getPrivateIp()
The instance's private IP address.
|
String |
getPublicIp()
The instance's public IP address.
|
String |
getRsaPublicKey()
The instances public RSA key.
|
String |
getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
|
String |
getStackId()
The ID of the stack that the instance is to be registered with.
|
int |
hashCode() |
void |
setHostname(String hostname)
The instance's host name.
|
void |
setInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
|
void |
setPrivateIp(String privateIp)
The instance's private IP address.
|
void |
setPublicIp(String publicIp)
The instance's public IP address.
|
void |
setRsaPublicKey(String rsaPublicKey)
The instances public RSA key.
|
void |
setRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
|
void |
setStackId(String stackId)
The ID of the stack that the instance is to be registered with.
|
String |
toString()
Returns a string representation of this object.
|
RegisterInstanceRequest |
withHostname(String hostname)
The instance's host name.
|
RegisterInstanceRequest |
withInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
|
RegisterInstanceRequest |
withPrivateIp(String privateIp)
The instance's private IP address.
|
RegisterInstanceRequest |
withPublicIp(String publicIp)
The instance's public IP address.
|
RegisterInstanceRequest |
withRsaPublicKey(String rsaPublicKey)
The instances public RSA key.
|
RegisterInstanceRequest |
withRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
|
RegisterInstanceRequest |
withStackId(String stackId)
The ID of the stack that the instance is to be registered with.
|
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 setStackId(String stackId)
The ID of the stack that the instance is to be registered with.
stackId
- The ID of the stack that the instance is to be registered with.public String getStackId()
The ID of the stack that the instance is to be registered with.
public RegisterInstanceRequest withStackId(String stackId)
The ID of the stack that the instance is to be registered with.
stackId
- The ID of the stack that the instance is to be registered with.public void setHostname(String hostname)
The instance's host name. The following are character limits for instance host names.
Linux-based instances: 63 characters
Windows-based instances: 15 characters
hostname
- The instance's host name. The following are character limits for instance host names.
Linux-based instances: 63 characters
Windows-based instances: 15 characters
public String getHostname()
The instance's host name. The following are character limits for instance host names.
Linux-based instances: 63 characters
Windows-based instances: 15 characters
Linux-based instances: 63 characters
Windows-based instances: 15 characters
public RegisterInstanceRequest withHostname(String hostname)
The instance's host name. The following are character limits for instance host names.
Linux-based instances: 63 characters
Windows-based instances: 15 characters
hostname
- The instance's host name. The following are character limits for instance host names.
Linux-based instances: 63 characters
Windows-based instances: 15 characters
public void setPublicIp(String publicIp)
The instance's public IP address.
publicIp
- The instance's public IP address.public String getPublicIp()
The instance's public IP address.
public RegisterInstanceRequest withPublicIp(String publicIp)
The instance's public IP address.
publicIp
- The instance's public IP address.public void setPrivateIp(String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public String getPrivateIp()
The instance's private IP address.
public RegisterInstanceRequest withPrivateIp(String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public void setRsaPublicKey(String rsaPublicKey)
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
rsaPublicKey
- The instances public RSA key. This key is used to encrypt communication between the instance and the
service.public String getRsaPublicKey()
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
public RegisterInstanceRequest withRsaPublicKey(String rsaPublicKey)
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
rsaPublicKey
- The instances public RSA key. This key is used to encrypt communication between the instance and the
service.public void setRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
rsaPublicKeyFingerprint
- The instances public RSA key fingerprint.public String getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
public RegisterInstanceRequest withRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
rsaPublicKeyFingerprint
- The instances public RSA key fingerprint.public void setInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
instanceIdentity
- An InstanceIdentity object that contains the instance's identity.public InstanceIdentity getInstanceIdentity()
An InstanceIdentity object that contains the instance's identity.
public RegisterInstanceRequest withInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
instanceIdentity
- An InstanceIdentity object that contains the instance's identity.public String toString()
toString
in class Object
Object.toString()
public RegisterInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()