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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeBoundaryfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TimeBoundary from the JsonReader.Get the endTime property: The end of the time boundary.Get the startTime property: The start of the time boundary.Get the timeZone property: The timezone of the time boundary.setEndTime(String endTime) Set the endTime property: The end of the time boundary.setStartTime(String startTime) Set the startTime property: The start of the time boundary.setTimeZone(String timeZone) Set the timeZone property: The timezone of the time boundary.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TimeBoundary
public TimeBoundary()Creates an instance of TimeBoundary class.
-
-
Method Details
-
getEndTime
Get the endTime property: The end of the time boundary.- Returns:
- the endTime value.
-
setEndTime
Set the endTime property: The end of the time boundary.- Parameters:
endTime- the endTime value to set.- Returns:
- the TimeBoundary object itself.
-
getStartTime
Get the startTime property: The start of the time boundary.- Returns:
- the startTime value.
-
setStartTime
Set the startTime property: The start of the time boundary.- Parameters:
startTime- the startTime value to set.- Returns:
- the TimeBoundary object itself.
-
getTimeZone
Get the timeZone property: The timezone of the time boundary.- Returns:
- the timeZone value.
-
setTimeZone
Set the timeZone property: The timezone of the time boundary.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the TimeBoundary object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TimeBoundary>- Throws:
IOException
-
fromJson
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.
-