LogFileTextSettings Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. LogFileTextSettings
- com.
Implements
public class LogFileTextSettings
implements JsonSerializable<LogFileTextSettings>
Settings for text log files.
Constructor | Description |
---|---|
Log |
Creates an instance of Log |
Modifier and Type | Method and Description |
---|---|
static
Log |
from Reads an instance of Log |
Known |
record Get the record |
Json |
to |
void |
validate()
Validates the instance. |
Log |
with Set the record |
Methods inherited from java.lang.Object
LogFileTextSettings
public LogFileTextSettings()
Creates an instance of LogFileTextSettings class.
fromJson
public static LogFileTextSettings fromJson(JsonReader jsonReader)
Reads an instance of LogFileTextSettings from the JsonReader.
Parameters:
Returns:
Throws:
recordStartTimestampFormat
public KnownLogFileTextSettingsRecordStartTimestampFormat recordStartTimestampFormat()
Get the recordStartTimestampFormat property: One of the supported timestamp formats.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRecordStartTimestampFormat
public LogFileTextSettings withRecordStartTimestampFormat(KnownLogFileTextSettingsRecordStartTimestampFormat recordStartTimestampFormat)
Set the recordStartTimestampFormat property: One of the supported timestamp formats.
Parameters:
Returns: