Class HostInstance

java.lang.Object
com.amazonaws.services.ec2.model.HostInstance
All Implemented Interfaces:
Serializable, Cloneable

public class HostInstance extends Object implements Serializable, Cloneable

Describes an instance running on a Dedicated host.

See Also:
  • Constructor Details

    • HostInstance

      public HostInstance()
  • Method Details

    • setInstanceId

      public void setInstanceId(String instanceId)

      the IDs of instances that are running on the Dedicated host.

      Parameters:
      instanceId - the IDs of instances that are running on the Dedicated host.
    • getInstanceId

      public String getInstanceId()

      the IDs of instances that are running on the Dedicated host.

      Returns:
      the IDs of instances that are running on the Dedicated host.
    • withInstanceId

      public HostInstance withInstanceId(String instanceId)

      the IDs of instances that are running on the Dedicated host.

      Parameters:
      instanceId - the IDs of instances that are running on the Dedicated host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstanceType

      public void setInstanceType(String instanceType)

      The instance type size (for example, m3.medium) of the running instance.

      Parameters:
      instanceType - The instance type size (for example, m3.medium) of the running instance.
    • getInstanceType

      public String getInstanceType()

      The instance type size (for example, m3.medium) of the running instance.

      Returns:
      The instance type size (for example, m3.medium) of the running instance.
    • withInstanceType

      public HostInstance withInstanceType(String instanceType)

      The instance type size (for example, m3.medium) of the running instance.

      Parameters:
      instanceType - The instance type size (for example, m3.medium) of the running instance.
      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 HostInstance clone()
      Overrides:
      clone in class Object