Class LookupActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.LookupActivityTypeProperties
-
public final class LookupActivityTypeProperties extends Object
Lookup activity properties.
-
-
Constructor Summary
Constructors Constructor Description LookupActivityTypeProperties()
-
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.LookupActivityTypeProperties
withDataset(DatasetReference dataset)
Set the dataset property: Lookup activity dataset reference.LookupActivityTypeProperties
withFirstRowOnly(Object firstRowOnly)
Set the firstRowOnly property: Whether to return first row or all rows.LookupActivityTypeProperties
withSource(CopySource source)
Set the source property: Dataset-specific source properties, same as copy activity source.
-
-
-
Method Detail
-
source
public CopySource source()
Get the source property: Dataset-specific source properties, same as copy activity source.- Returns:
- the source value.
-
withSource
public LookupActivityTypeProperties 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 LookupActivityTypeProperties object itself.
-
dataset
public DatasetReference dataset()
Get the dataset property: Lookup activity dataset reference.- Returns:
- the dataset value.
-
withDataset
public LookupActivityTypeProperties withDataset(DatasetReference dataset)
Set the dataset property: Lookup activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the LookupActivityTypeProperties 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 LookupActivityTypeProperties 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 LookupActivityTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-