Partager via


LogFilesDataSourceSettings Class

public final class LogFilesDataSourceSettings
extends LogFileSettings

The log files specific settings.

Constructor Summary

Constructor Description
LogFilesDataSourceSettings()

Creates an instance of LogFilesDataSourceSettings class.

Method Summary

Modifier and Type Method and Description
static LogFilesDataSourceSettings fromJson(JsonReader jsonReader)

Reads an instance of LogFilesDataSourceSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LogFilesDataSourceSettings withText(LogFileSettingsText text)

Set the text property: Text settings.

Methods inherited from LogFileSettings

Methods inherited from java.lang.Object

Constructor Details

LogFilesDataSourceSettings

public LogFilesDataSourceSettings()

Creates an instance of LogFilesDataSourceSettings class.

Method Details

fromJson

public static LogFilesDataSourceSettings fromJson(JsonReader jsonReader)

Reads an instance of LogFilesDataSourceSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LogFilesDataSourceSettings 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 LogFilesDataSourceSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LogFilesDataSourceSettings.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

LogFilesDataSourceSettings.validate()

withText

public LogFilesDataSourceSettings withText(LogFileSettingsText text)

Set the text property: Text settings.

Overrides:

LogFilesDataSourceSettings.withText(LogFileSettingsText text)

Parameters:

text

Applies to