Class ScriptActivityTypePropertiesLogSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.ScriptActivityTypePropertiesLogSettings
Log settings of script activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logDestination property: The destination of logs.Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.void
validate()
Validates the instance.withLogDestination
(ScriptActivityLogDestination logDestination) Set the logDestination property: The destination of logs.withLogLocationSettings
(LogLocationSettings logLocationSettings) Set the logLocationSettings property: Log location settings customer needs to provide when enabling log.
-
Constructor Details
-
ScriptActivityTypePropertiesLogSettings
public ScriptActivityTypePropertiesLogSettings()
-
-
Method Details
-
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
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.
-