Class TimeBoundary

java.lang.Object
com.azure.analytics.purview.datamap.models.TimeBoundary
All Implemented Interfaces:
com.azure.json.JsonSerializable<TimeBoundary>

public final class TimeBoundary extends Object implements com.azure.json.JsonSerializable<TimeBoundary>
Captures time-boundary details.
  • Constructor Details

    • TimeBoundary

      public TimeBoundary()
      Creates an instance of TimeBoundary class.
  • Method Details

    • getEndTime

      public String getEndTime()
      Get the endTime property: The end of the time boundary.
      Returns:
      the endTime value.
    • setEndTime

      public TimeBoundary setEndTime(String endTime)
      Set the endTime property: The end of the time boundary.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the TimeBoundary object itself.
    • getStartTime

      public String getStartTime()
      Get the startTime property: The start of the time boundary.
      Returns:
      the startTime value.
    • setStartTime

      public TimeBoundary setStartTime(String startTime)
      Set the startTime property: The start of the time boundary.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the TimeBoundary object itself.
    • getTimeZone

      public String getTimeZone()
      Get the timeZone property: The timezone of the time boundary.
      Returns:
      the timeZone value.
    • setTimeZone

      public TimeBoundary setTimeZone(String timeZone)
      Set the timeZone property: The timezone of the time boundary.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the TimeBoundary object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TimeBoundary>
      Throws:
      IOException
    • fromJson

      public static TimeBoundary fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TimeBoundary from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TimeBoundary if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the TimeBoundary.