public class RegisterInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hostname
The instance's hostname.
|
private InstanceIdentity |
instanceIdentity
An InstanceIdentity object that contains the instance's identity.
|
private java.lang.String |
privateIp
The instance's private IP address.
|
private java.lang.String |
publicIp
The instance's public IP address.
|
private java.lang.String |
rsaPublicKey
The instances public RSA key.
|
private java.lang.String |
rsaPublicKeyFingerprint
The instances public RSA key fingerprint.
|
private java.lang.String |
stackId
The ID of the stack that the instance is to be registered with.
|
NOOP
Constructor and Description |
---|
RegisterInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHostname()
The instance's hostname.
|
InstanceIdentity |
getInstanceIdentity()
An InstanceIdentity object that contains the instance's identity.
|
java.lang.String |
getPrivateIp()
The instance's private IP address.
|
java.lang.String |
getPublicIp()
The instance's public IP address.
|
java.lang.String |
getRsaPublicKey()
The instances public RSA key.
|
java.lang.String |
getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
|
java.lang.String |
getStackId()
The ID of the stack that the instance is to be registered with.
|
int |
hashCode() |
void |
setHostname(java.lang.String hostname)
The instance's hostname.
|
void |
setInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
|
void |
setPrivateIp(java.lang.String privateIp)
The instance's private IP address.
|
void |
setPublicIp(java.lang.String publicIp)
The instance's public IP address.
|
void |
setRsaPublicKey(java.lang.String rsaPublicKey)
The instances public RSA key.
|
void |
setRsaPublicKeyFingerprint(java.lang.String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
|
void |
setStackId(java.lang.String stackId)
The ID of the stack that the instance is to be registered with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterInstanceRequest |
withHostname(java.lang.String hostname)
The instance's hostname.
|
RegisterInstanceRequest |
withInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
|
RegisterInstanceRequest |
withPrivateIp(java.lang.String privateIp)
The instance's private IP address.
|
RegisterInstanceRequest |
withPublicIp(java.lang.String publicIp)
The instance's public IP address.
|
RegisterInstanceRequest |
withRsaPublicKey(java.lang.String rsaPublicKey)
The instances public RSA key.
|
RegisterInstanceRequest |
withRsaPublicKeyFingerprint(java.lang.String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
|
RegisterInstanceRequest |
withStackId(java.lang.String stackId)
The ID of the stack that the instance is to be registered with.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String stackId
The ID of the stack that the instance is to be registered with.
private java.lang.String hostname
The instance's hostname.
private java.lang.String publicIp
The instance's public IP address.
private java.lang.String privateIp
The instance's private IP address.
private java.lang.String rsaPublicKey
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
private java.lang.String rsaPublicKeyFingerprint
The instances public RSA key fingerprint.
private InstanceIdentity instanceIdentity
An InstanceIdentity object that contains the instance's identity.
public void setStackId(java.lang.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 java.lang.String getStackId()
The ID of the stack that the instance is to be registered with.
public RegisterInstanceRequest withStackId(java.lang.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(java.lang.String hostname)
The instance's hostname.
hostname
- The instance's hostname.public java.lang.String getHostname()
The instance's hostname.
public RegisterInstanceRequest withHostname(java.lang.String hostname)
The instance's hostname.
hostname
- The instance's hostname.public void setPublicIp(java.lang.String publicIp)
The instance's public IP address.
publicIp
- The instance's public IP address.public java.lang.String getPublicIp()
The instance's public IP address.
public RegisterInstanceRequest withPublicIp(java.lang.String publicIp)
The instance's public IP address.
publicIp
- The instance's public IP address.public void setPrivateIp(java.lang.String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public java.lang.String getPrivateIp()
The instance's private IP address.
public RegisterInstanceRequest withPrivateIp(java.lang.String privateIp)
The instance's private IP address.
privateIp
- The instance's private IP address.public void setRsaPublicKey(java.lang.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 java.lang.String getRsaPublicKey()
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
public RegisterInstanceRequest withRsaPublicKey(java.lang.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(java.lang.String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
rsaPublicKeyFingerprint
- The instances public RSA key fingerprint.public java.lang.String getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
public RegisterInstanceRequest withRsaPublicKeyFingerprint(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()