Class ScriptActivityTypePropertiesLogSettings
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.ScriptActivityTypePropertiesLogSettings
-
public final class ScriptActivityTypePropertiesLogSettings extends Object
Log settings of script activity.
-
-
Constructor Summary
Constructors Constructor Description ScriptActivityTypePropertiesLogSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptActivityLogDestination
logDestination()
Get the logDestination property: The destination of logs.LogLocationSettings
logLocationSettings()
Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.void
validate()
Validates the instance.ScriptActivityTypePropertiesLogSettings
withLogDestination(ScriptActivityLogDestination logDestination)
Set the logDestination property: The destination of logs.ScriptActivityTypePropertiesLogSettings
withLogLocationSettings(LogLocationSettings logLocationSettings)
Set the logLocationSettings property: Log location settings customer needs to provide when enabling log.
-
-
-
Method Detail
-
logDestination
public ScriptActivityLogDestination logDestination()
Get the logDestination property: The destination of logs. Type: string.- Returns:
- the logDestination value.
-
withLogDestination
public ScriptActivityTypePropertiesLogSettings withLogDestination(ScriptActivityLogDestination logDestination)
Set the logDestination property: The destination of logs. Type: string.- Parameters:
logDestination
- the logDestination value to set.- Returns:
- the ScriptActivityTypePropertiesLogSettings object itself.
-
logLocationSettings
public LogLocationSettings logLocationSettings()
Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.- Returns:
- the logLocationSettings value.
-
withLogLocationSettings
public ScriptActivityTypePropertiesLogSettings 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 ScriptActivityTypePropertiesLogSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-