Class LogFileSettingsText
java.lang.Object
com.azure.resourcemanager.monitor.models.LogFileTextSettings
com.azure.resourcemanager.monitor.models.LogFileSettingsText
Text settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withRecordStartTimestampFormat(KnownLogFileTextSettingsRecordStartTimestampFormat recordStartTimestampFormat) Set the recordStartTimestampFormat property: One of the supported timestamp formats.Methods inherited from class com.azure.resourcemanager.monitor.models.LogFileTextSettings
recordStartTimestampFormat
-
Constructor Details
-
LogFileSettingsText
public LogFileSettingsText()Creates an instance of LogFileSettingsText class.
-
-
Method Details
-
withRecordStartTimestampFormat
public LogFileSettingsText withRecordStartTimestampFormat(KnownLogFileTextSettingsRecordStartTimestampFormat recordStartTimestampFormat) Set the recordStartTimestampFormat property: One of the supported timestamp formats.- Overrides:
withRecordStartTimestampFormatin classLogFileTextSettings- Parameters:
recordStartTimestampFormat- the recordStartTimestampFormat value to set.- Returns:
- the LogFileTextSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLogFileTextSettings- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-