Class HypervisorDetails

    • Method Detail

      • host

        public final String host()

        The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).

        Returns:
        The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
      • hypervisorArn

        public final String hypervisorArn()

        The Amazon Resource Name (ARN) of the hypervisor.

        Returns:
        The Amazon Resource Name (ARN) of the hypervisor.
      • kmsKeyArn

        public final String kmsKeyArn()

        The Amazon Resource Name (ARN) of the KMS used to encrypt the hypervisor.

        Returns:
        The Amazon Resource Name (ARN) of the KMS used to encrypt the hypervisor.
      • lastSuccessfulMetadataSyncTime

        public final Instant lastSuccessfulMetadataSyncTime()

        This is the time when the most recent successful sync of metadata occurred.

        Returns:
        This is the time when the most recent successful sync of metadata occurred.
      • latestMetadataSyncStatusMessage

        public final String latestMetadataSyncStatusMessage()

        This is the most recent status for the indicated metadata sync.

        Returns:
        This is the most recent status for the indicated metadata sync.
      • logGroupArn

        public final String logGroupArn()

        The Amazon Resource Name (ARN) of the group of gateways within the requested log.

        Returns:
        The Amazon Resource Name (ARN) of the group of gateways within the requested log.
      • name

        public final String name()

        This is the name of the specified hypervisor.

        Returns:
        This is the name of the specified hypervisor.
      • state

        public final HypervisorState state()

        This is the current state of the specified hypervisor.

        The possible states are PENDING, ONLINE, OFFLINE, or ERROR.

        If the service returns an enum value that is not available in the current SDK version, state will return HypervisorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

        Returns:
        This is the current state of the specified hypervisor.

        The possible states are PENDING, ONLINE, OFFLINE, or ERROR.

        See Also:
        HypervisorState
      • stateAsString

        public final String stateAsString()

        This is the current state of the specified hypervisor.

        The possible states are PENDING, ONLINE, OFFLINE, or ERROR.

        If the service returns an enum value that is not available in the current SDK version, state will return HypervisorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

        Returns:
        This is the current state of the specified hypervisor.

        The possible states are PENDING, ONLINE, OFFLINE, or ERROR.

        See Also:
        HypervisorState
      • 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)