Class PublishComponentTelemetryOptions

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

public final class PublishComponentTelemetryOptions extends Object
  • Constructor Details

    • PublishComponentTelemetryOptions

      public PublishComponentTelemetryOptions()
  • Method Details

    • getTimestamp

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

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