Class RegisterInstanceRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.RegisterInstanceRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class RegisterInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • RegisterInstanceRequest

      public RegisterInstanceRequest()
  • Method Details

    • setStackId

      public void setStackId(String stackId)

      The ID of the stack that the instance is to be registered with.

      Parameters:
      stackId - The ID of the stack that the instance is to be registered with.
    • getStackId

      public String getStackId()

      The ID of the stack that the instance is to be registered with.

      Returns:
      The ID of the stack that the instance is to be registered with.
    • withStackId

      public RegisterInstanceRequest withStackId(String stackId)

      The ID of the stack that the instance is to be registered with.

      Parameters:
      stackId - The ID of the stack that the instance is to be registered with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHostname

      public void setHostname(String hostname)

      The instance's hostname.

      Parameters:
      hostname - The instance's hostname.
    • getHostname

      public String getHostname()

      The instance's hostname.

      Returns:
      The instance's hostname.
    • withHostname

      public RegisterInstanceRequest withHostname(String hostname)

      The instance's hostname.

      Parameters:
      hostname - The instance's hostname.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPublicIp

      public void setPublicIp(String publicIp)

      The instance's public IP address.

      Parameters:
      publicIp - The instance's public IP address.
    • getPublicIp

      public String getPublicIp()

      The instance's public IP address.

      Returns:
      The instance's public IP address.
    • withPublicIp

      public RegisterInstanceRequest withPublicIp(String publicIp)

      The instance's public IP address.

      Parameters:
      publicIp - The instance's public IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPrivateIp

      public void setPrivateIp(String privateIp)

      The instance's private IP address.

      Parameters:
      privateIp - The instance's private IP address.
    • getPrivateIp

      public String getPrivateIp()

      The instance's private IP address.

      Returns:
      The instance's private IP address.
    • withPrivateIp

      public RegisterInstanceRequest withPrivateIp(String privateIp)

      The instance's private IP address.

      Parameters:
      privateIp - The instance's private IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRsaPublicKey

      public void setRsaPublicKey(String rsaPublicKey)

      The instances public RSA key. This key is used to encrypt communication between the instance and the service.

      Parameters:
      rsaPublicKey - The instances public RSA key. This key is used to encrypt communication between the instance and the service.
    • getRsaPublicKey

      public String getRsaPublicKey()

      The instances public RSA key. This key is used to encrypt communication between the instance and the service.

      Returns:
      The instances public RSA key. This key is used to encrypt communication between the instance and the service.
    • withRsaPublicKey

      public RegisterInstanceRequest withRsaPublicKey(String rsaPublicKey)

      The instances public RSA key. This key is used to encrypt communication between the instance and the service.

      Parameters:
      rsaPublicKey - The instances public RSA key. This key is used to encrypt communication between the instance and the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRsaPublicKeyFingerprint

      public void setRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)

      The instances public RSA key fingerprint.

      Parameters:
      rsaPublicKeyFingerprint - The instances public RSA key fingerprint.
    • getRsaPublicKeyFingerprint

      public String getRsaPublicKeyFingerprint()

      The instances public RSA key fingerprint.

      Returns:
      The instances public RSA key fingerprint.
    • withRsaPublicKeyFingerprint

      public RegisterInstanceRequest withRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)

      The instances public RSA key fingerprint.

      Parameters:
      rsaPublicKeyFingerprint - The instances public RSA key fingerprint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstanceIdentity

      public void setInstanceIdentity(InstanceIdentity instanceIdentity)

      An InstanceIdentity object that contains the instance's identity.

      Parameters:
      instanceIdentity - An InstanceIdentity object that contains the instance's identity.
    • getInstanceIdentity

      public InstanceIdentity getInstanceIdentity()

      An InstanceIdentity object that contains the instance's identity.

      Returns:
      An InstanceIdentity object that contains the instance's identity.
    • withInstanceIdentity

      public RegisterInstanceRequest withInstanceIdentity(InstanceIdentity instanceIdentity)

      An InstanceIdentity object that contains the instance's identity.

      Parameters:
      instanceIdentity - An InstanceIdentity object that contains the instance's identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RegisterInstanceRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: