Class LogFileSettings
java.lang.Object
com.azure.resourcemanager.monitor.models.LogFileSettings
- Direct Known Subclasses:
LogFilesDataSourceSettings
Settings for different log file formats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontext()Get the text property: Text settings.voidvalidate()Validates the instance.withText(LogFileSettingsText text) Set the text property: Text settings.
-
Constructor Details
-
LogFileSettings
public LogFileSettings()Creates an instance of LogFileSettings class.
-
-
Method Details
-
text
Get the text property: Text settings.- Returns:
- the text value.
-
withText
Set the text property: Text settings.- Parameters:
text- the text value to set.- Returns:
- the LogFileSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-