ScriptActivityTypePropertiesLogSettings Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.ScriptActivityTypePropertiesLogSettings

Implements

public final class ScriptActivityTypePropertiesLogSettings
implements JsonSerializable<ScriptActivityTypePropertiesLogSettings>

Log settings of script activity.

Constructor Summary

Constructor Description
ScriptActivityTypePropertiesLogSettings()

Creates an instance of ScriptActivityTypePropertiesLogSettings class.

Method Summary

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

Reads an instance of ScriptActivityTypePropertiesLogSettings from the JsonReader.

ScriptActivityLogDestination getLogDestination()

Get the logDestination property: The destination of logs.

LogLocationSettings getLogLocationSettings()

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

ScriptActivityTypePropertiesLogSettings setLogDestination(ScriptActivityLogDestination logDestination)

Set the logDestination property: The destination of logs.

ScriptActivityTypePropertiesLogSettings setLogLocationSettings(LogLocationSettings logLocationSettings)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ScriptActivityTypePropertiesLogSettings

public ScriptActivityTypePropertiesLogSettings()

Creates an instance of ScriptActivityTypePropertiesLogSettings class.

Method Details

fromJson

public static ScriptActivityTypePropertiesLogSettings fromJson(JsonReader jsonReader)

Reads an instance of ScriptActivityTypePropertiesLogSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getLogDestination

public ScriptActivityLogDestination getLogDestination()

Get the logDestination property: The destination of logs. Type: string.

Returns:

the logDestination value.

getLogLocationSettings

public LogLocationSettings getLogLocationSettings()

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

Returns:

the logLocationSettings value.

setLogDestination

public ScriptActivityTypePropertiesLogSettings setLogDestination(ScriptActivityLogDestination logDestination)

Set the logDestination property: The destination of logs. Type: string.

Parameters:

logDestination - the logDestination value to set.

Returns:

the ScriptActivityTypePropertiesLogSettings object itself.

setLogLocationSettings

public ScriptActivityTypePropertiesLogSettings setLogLocationSettings(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 ScriptActivityTypePropertiesLogSettings object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to