LogSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.LogSettings

Implements

public final class LogSettings
implements JsonSerializable<LogSettings>

Log settings.

Constructor Summary

Constructor Description
LogSettings()

Creates an instance of LogSettings class.

Method Summary

Modifier and Type Method and Description
CopyActivityLogSettings copyActivityLogSettings()

Get the copyActivityLogSettings property: Specifies settings for copy activity log.

Object enableCopyActivityLog()

Get the enableCopyActivityLog property: Specifies whether to enable copy activity log.

static LogSettings fromJson(JsonReader jsonReader)

Reads an instance of LogSettings from the JsonReader.

LogLocationSettings logLocationSettings()

Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LogSettings withCopyActivityLogSettings(CopyActivityLogSettings copyActivityLogSettings)

Set the copyActivityLogSettings property: Specifies settings for copy activity log.

LogSettings withEnableCopyActivityLog(Object enableCopyActivityLog)

Set the enableCopyActivityLog property: Specifies whether to enable copy activity log.

LogSettings withLogLocationSettings(LogLocationSettings logLocationSettings)

Set the logLocationSettings property: Log location settings customer needs to provide when enabling log.

Methods inherited from java.lang.Object

Constructor Details

LogSettings

public LogSettings()

Creates an instance of LogSettings class.

Method Details

copyActivityLogSettings

public CopyActivityLogSettings copyActivityLogSettings()

Get the copyActivityLogSettings property: Specifies settings for copy activity log.

Returns:

the copyActivityLogSettings value.

enableCopyActivityLog

public Object enableCopyActivityLog()

Get the enableCopyActivityLog property: Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean).

Returns:

the enableCopyActivityLog value.

fromJson

public static LogSettings fromJson(JsonReader jsonReader)

Reads an instance of LogSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LogSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

logLocationSettings

public LogLocationSettings logLocationSettings()

Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.

Returns:

the logLocationSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCopyActivityLogSettings

public LogSettings withCopyActivityLogSettings(CopyActivityLogSettings copyActivityLogSettings)

Set the copyActivityLogSettings property: Specifies settings for copy activity log.

Parameters:

copyActivityLogSettings - the copyActivityLogSettings value to set.

Returns:

the LogSettings object itself.

withEnableCopyActivityLog

public LogSettings withEnableCopyActivityLog(Object enableCopyActivityLog)

Set the enableCopyActivityLog property: Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean).

Parameters:

enableCopyActivityLog - the enableCopyActivityLog value to set.

Returns:

the LogSettings object itself.

withLogLocationSettings

public LogSettings withLogLocationSettings(LogLocationSettings logLocationSettings)

Set the logLocationSettings property: Log location settings customer needs to provide when enabling log.

Parameters:

logLocationSettings - the logLocationSettings value to set.

Returns:

the LogSettings object itself.

Applies to