Interface LocationAction.Builder

    • Method Detail

      • roleArn

        LocationAction.Builder roleArn​(String roleArn)

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

        Parameters:
        roleArn - The IAM role that grants permission to write to the Amazon Location resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trackerName

        LocationAction.Builder trackerName​(String trackerName)

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

        Parameters:
        trackerName - The name of the tracker resource in Amazon Location in which the location is updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceId

        LocationAction.Builder deviceId​(String deviceId)

        The unique ID of the device providing the location data.

        Parameters:
        deviceId - The unique ID of the device providing the location data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        LocationAction.Builder timestamp​(LocationTimestamp timestamp)

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

        Parameters:
        timestamp - The time that the location data was sampled. The default value is the time the MQTT message was processed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latitude

        LocationAction.Builder latitude​(String latitude)

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

        Parameters:
        latitude - A string that evaluates to a double value that represents the latitude of the device's location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longitude

        LocationAction.Builder longitude​(String longitude)

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

        Parameters:
        longitude - A string that evaluates to a double value that represents the longitude of the device's location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.