LocalTimestampTimeZoneOffset Class
- java.
lang. Object - com.
azure. resourcemanager. timeseriesinsights. models. LocalTimestampTimeZoneOffset
- com.
Implements
public final class LocalTimestampTimeZoneOffset
implements JsonSerializable<LocalTimestampTimeZoneOffset>
An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
Constructor Summary
| Constructor | Description |
|---|---|
| LocalTimestampTimeZoneOffset() |
Creates an instance of Local |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Local |
fromJson(JsonReader jsonReader)
Reads an instance of Local |
| String |
propertyName()
Get the property |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Local |
withPropertyName(String propertyName)
Set the property |
Methods inherited from java.lang.Object
Constructor Details
LocalTimestampTimeZoneOffset
public LocalTimestampTimeZoneOffset()
Creates an instance of LocalTimestampTimeZoneOffset class.
Method Details
fromJson
public static LocalTimestampTimeZoneOffset fromJson(JsonReader jsonReader)
Reads an instance of LocalTimestampTimeZoneOffset from the JsonReader.
Parameters:
Returns:
Throws:
propertyName
public String propertyName()
Get the propertyName property: The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00).
Returns:
toJson
validate
public void validate()
Validates the instance.
withPropertyName
public LocalTimestampTimeZoneOffset withPropertyName(String propertyName)
Set the propertyName property: The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00).
Parameters:
Returns: