Class LocationAction

    • Method Detail

      • roleArn

        public final String roleArn()

        The IAM role that grants permission to write to the Amazon Location resource.

        Returns:
        The IAM role that grants permission to write to the Amazon Location resource.
      • trackerName

        public final String trackerName()

        The name of the tracker resource in Amazon Location in which the location is updated.

        Returns:
        The name of the tracker resource in Amazon Location in which the location is updated.
      • deviceId

        public final String deviceId()

        The unique ID of the device providing the location data.

        Returns:
        The unique ID of the device providing the location data.
      • timestamp

        public final LocationTimestamp timestamp()

        The time that the location data was sampled. The default value is the time the MQTT message was processed.

        Returns:
        The time that the location data was sampled. The default value is the time the MQTT message was processed.
      • latitude

        public final String latitude()

        A string that evaluates to a double value that represents the latitude of the device's location.

        Returns:
        A string that evaluates to a double value that represents the latitude of the device's location.
      • longitude

        public final String longitude()

        A string that evaluates to a double value that represents the longitude of the device's location.

        Returns:
        A string that evaluates to a double value that represents the longitude of the device's location.
      • 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)