Class SqlServerStoredProcedureActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.SqlServerStoredProcedureActivity
SQL stored procedure activity type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlServerStoredProcedureActivity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the storedProcedureName property: Stored procedure name.Get the storedProcedureParameters property: Value and type setting for stored procedure parameters.voidvalidate()Validates the instance.withDependsOn(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription(String description) Set the description property: Activity description.withLinkedServiceName(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.withPolicy(ActivityPolicy policy) Set the policy property: Activity policy.withStoredProcedureName(Object storedProcedureName) Set the storedProcedureName property: Stored procedure name.withStoredProcedureParameters(Object storedProcedureParameters) Set the storedProcedureParameters property: Value and type setting for stored procedure parameters.withUserProperties(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policyMethods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
SqlServerStoredProcedureActivity
public SqlServerStoredProcedureActivity()Creates an instance of SqlServerStoredProcedureActivity class.
-
-
Method Details
-
withLinkedServiceName
public SqlServerStoredProcedureActivity 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
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classExecutionActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
storedProcedureName
Get the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).- Returns:
- the storedProcedureName value.
-
withStoredProcedureName
Set the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).- Parameters:
storedProcedureName- the storedProcedureName value to set.- Returns:
- the SqlServerStoredProcedureActivity object itself.
-
storedProcedureParameters
Get the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".- Returns:
- the storedProcedureParameters value.
-
withStoredProcedureParameters
public SqlServerStoredProcedureActivity withStoredProcedureParameters(Object storedProcedureParameters) Set the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".- Parameters:
storedProcedureParameters- the storedProcedureParameters value to set.- Returns:
- the SqlServerStoredProcedureActivity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-