Class LookupActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.LookupActivity
-
public final class LookupActivity extends ExecutionActivity
Lookup activity.
-
-
Constructor Summary
Constructors Constructor Description LookupActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetReference
dataset()
Get the dataset property: Lookup activity dataset reference.Object
firstRowOnly()
Get the firstRowOnly property: Whether to return first row or all rows.CopySource
source()
Get the source property: Dataset-specific source properties, same as copy activity source.void
validate()
Validates the instance.LookupActivity
withDataset(DatasetReference dataset)
Set the dataset property: Lookup activity dataset reference.LookupActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.LookupActivity
withDescription(String description)
Set the description property: Activity description.LookupActivity
withFirstRowOnly(Object firstRowOnly)
Set the firstRowOnly property: Whether to return first row or all rows.LookupActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.LookupActivity
withName(String name)
Set the name property: Activity name.LookupActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.LookupActivity
withSource(CopySource source)
Set the source property: Dataset-specific source properties, same as copy activity source.LookupActivity
withUserProperties(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 LookupActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public LookupActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public LookupActivity withName(String name)
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public LookupActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public LookupActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public LookupActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
source
public CopySource source()
Get the source property: Dataset-specific source properties, same as copy activity source.- Returns:
- the source value.
-
withSource
public LookupActivity withSource(CopySource source)
Set the source property: Dataset-specific source properties, same as copy activity source.- Parameters:
source
- the source value to set.- Returns:
- the LookupActivity object itself.
-
dataset
public DatasetReference dataset()
Get the dataset property: Lookup activity dataset reference.- Returns:
- the dataset value.
-
withDataset
public LookupActivity withDataset(DatasetReference dataset)
Set the dataset property: Lookup activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the LookupActivity object itself.
-
firstRowOnly
public Object firstRowOnly()
Get the firstRowOnly property: Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the firstRowOnly value.
-
withFirstRowOnly
public LookupActivity withFirstRowOnly(Object firstRowOnly)
Set the firstRowOnly property: Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
firstRowOnly
- the firstRowOnly value to set.- Returns:
- the LookupActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-