Class GatewayCapabilitySummary

    • Method Detail

      • capabilityNamespace

        public final String capabilityNamespace()

        The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.

        Returns:
        The namespace of the capability configuration. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
      • capabilitySyncStatus

        public final CapabilitySyncStatus capabilitySyncStatus()

        The synchronization status of the capability configuration. The sync status can be one of the following:

        • IN_SYNC – The gateway is running the capability configuration.

        • OUT_OF_SYNC – The gateway hasn't received the capability configuration.

        • SYNC_FAILED – The gateway rejected the capability configuration.

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

        Returns:
        The synchronization status of the capability configuration. The sync status can be one of the following:

        • IN_SYNC – The gateway is running the capability configuration.

        • OUT_OF_SYNC – The gateway hasn't received the capability configuration.

        • SYNC_FAILED – The gateway rejected the capability configuration.

        See Also:
        CapabilitySyncStatus
      • capabilitySyncStatusAsString

        public final String capabilitySyncStatusAsString()

        The synchronization status of the capability configuration. The sync status can be one of the following:

        • IN_SYNC – The gateway is running the capability configuration.

        • OUT_OF_SYNC – The gateway hasn't received the capability configuration.

        • SYNC_FAILED – The gateway rejected the capability configuration.

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

        Returns:
        The synchronization status of the capability configuration. The sync status can be one of the following:

        • IN_SYNC – The gateway is running the capability configuration.

        • OUT_OF_SYNC – The gateway hasn't received the capability configuration.

        • SYNC_FAILED – The gateway rejected the capability configuration.

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