Class PublishTelemetryOptions

java.lang.Object
com.azure.digitaltwins.core.models.PublishTelemetryOptions

public final class PublishTelemetryOptions extends Object
  • Constructor Details

    • PublishTelemetryOptions

      public PublishTelemetryOptions()
  • Method Details

    • getTimestamp

      public OffsetDateTime getTimestamp()
      Gets the timestamp.
      Returns:
      The timestamp that identifies the time the telemetry was measured.
    • setTimestamp

      public PublishTelemetryOptions setTimestamp(OffsetDateTime timestamp)
      Set the timestamp
      Parameters:
      timestamp - The timestamp that identifies the time the telemetry was measured.
      Returns:
      The PublishTelemetryRequestOptions object itself.