Class ScriptActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.ScriptActivity
-
public final class ScriptActivity extends ExecutionActivity
Script activity type.
-
-
Constructor Summary
Constructors Constructor Description ScriptActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptActivityTypePropertiesLogSettingslogSettings()Get the logSettings property: Log settings of script activity.List<ScriptActivityScriptBlock>scripts()Get the scripts property: Array of script blocks.voidvalidate()Validates the instance.ScriptActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.ScriptActivitywithDescription(String description)Set the description property: Activity description.ScriptActivitywithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.ScriptActivitywithLogSettings(ScriptActivityTypePropertiesLogSettings logSettings)Set the logSettings property: Log settings of script activity.ScriptActivitywithName(String name)Set the name property: Activity name.ScriptActivitywithPolicy(ActivityPolicy policy)Set the policy property: Activity policy.ScriptActivitywithScripts(List<ScriptActivityScriptBlock> scripts)Set the scripts property: Array of script blocks.ScriptActivitywithUserProperties(List<UserProperty> userProperties)Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withLinkedServiceName
public ScriptActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public ScriptActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public ScriptActivity withName(String name)
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public ScriptActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public ScriptActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public ScriptActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classExecutionActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
scripts
public List<ScriptActivityScriptBlock> scripts()
Get the scripts property: Array of script blocks. Type: array.- Returns:
- the scripts value.
-
withScripts
public ScriptActivity withScripts(List<ScriptActivityScriptBlock> scripts)
Set the scripts property: Array of script blocks. Type: array.- Parameters:
scripts- the scripts value to set.- Returns:
- the ScriptActivity object itself.
-
logSettings
public ScriptActivityTypePropertiesLogSettings logSettings()
Get the logSettings property: Log settings of script activity.- Returns:
- the logSettings value.
-
withLogSettings
public ScriptActivity withLogSettings(ScriptActivityTypePropertiesLogSettings logSettings)
Set the logSettings property: Log settings of script activity.- Parameters:
logSettings- the logSettings value to set.- Returns:
- the ScriptActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-