Class LogSettings
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LogSettings
-
public final class LogSettings extends Object
Log settings.
-
-
Constructor Summary
Constructors Constructor Description LogSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.LogLocationSettings
logLocationSettings()
Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.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.
-
-
-
Method Detail
-
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.
-
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.
-
copyActivityLogSettings
public CopyActivityLogSettings copyActivityLogSettings()
Get the copyActivityLogSettings property: Specifies settings for copy activity log.- Returns:
- the copyActivityLogSettings value.
-
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.
-
logLocationSettings
public LogLocationSettings logLocationSettings()
Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.- Returns:
- the logLocationSettings value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-