Class DescribeDeviceResponse

    • Method Detail

      • statusAsString

        public final String statusAsString()

        The current state of the device.

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

        Returns:
        The current state of the device.
        See Also:
        DeviceStatus
      • model

        public final String model()

        The model of the device.

        Returns:
        The model of the device.
      • manufacturer

        public final String manufacturer()

        The manufacturer of the device.

        Returns:
        The manufacturer of the device.
      • operatingSystem

        public final String operatingSystem()

        The operating system of the device.

        Returns:
        The operating system of the device.
      • operatingSystemVersion

        public final String operatingSystemVersion()

        The operating system version of the device.

        Returns:
        The operating system version of the device.
      • patchLevel

        public final String patchLevel()

        The operating system patch level of the device.

        Returns:
        The operating system patch level of the device.
      • firstAccessedTime

        public final Instant firstAccessedTime()

        The date that the device first signed in to Amazon WorkLink.

        Returns:
        The date that the device first signed in to Amazon WorkLink.
      • lastAccessedTime

        public final Instant lastAccessedTime()

        The date that the device last accessed Amazon WorkLink.

        Returns:
        The date that the device last accessed Amazon WorkLink.
      • username

        public final String username()

        The user name associated with the device.

        Returns:
        The user name associated with the device.
      • 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