Class HostInstance

    • Constructor Detail

      • HostInstance

        public HostInstance()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object