Class HostInstance

    • Method Detail

      • instanceId

        public final String instanceId()

        The ID of instance that is running on the Dedicated Host.

        Returns:
        The ID of instance that is running on the Dedicated Host.
      • instanceType

        public final String instanceType()

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

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

        public final String ownerId()

        The ID of the Amazon Web Services account that owns the instance.

        Returns:
        The ID of the Amazon Web Services account that owns the instance.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)