Class ImportedSidewalkDevice

    • Method Detail

      • sidewalkManufacturingSn

        public final String sidewalkManufacturingSn()

        The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

        Returns:
        The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.
      • onboardingStatus

        public final OnboardStatus onboardingStatus()

        The onboarding status of the Sidewalk device in the import task.

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

        Returns:
        The onboarding status of the Sidewalk device in the import task.
        See Also:
        OnboardStatus
      • onboardingStatusAsString

        public final String onboardingStatusAsString()

        The onboarding status of the Sidewalk device in the import task.

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

        Returns:
        The onboarding status of the Sidewalk device in the import task.
        See Also:
        OnboardStatus
      • onboardingStatusReason

        public final String onboardingStatusReason()

        The reason for the onboarding status information for the Sidewalk device.

        Returns:
        The reason for the onboarding status information for the Sidewalk device.
      • lastUpdateTime

        public final Instant lastUpdateTime()

        The time at which the status information was last updated.

        Returns:
        The time at which the status information was last updated.
      • 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)