Class GetMetadataActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.GetMetadataActivity
-
public final class GetMetadataActivity extends ExecutionActivity
Activity to get metadata of dataset.
-
-
Constructor Summary
Constructors Constructor Description GetMetadataActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetReference
dataset()
Get the dataset property: GetMetadata activity dataset reference.List<Object>
fieldList()
Get the fieldList property: Fields of metadata to get from dataset.FormatReadSettings
formatSettings()
Get the formatSettings property: GetMetadata activity format settings.StoreReadSettings
storeSettings()
Get the storeSettings property: GetMetadata activity store settings.void
validate()
Validates the instance.GetMetadataActivity
withDataset(DatasetReference dataset)
Set the dataset property: GetMetadata activity dataset reference.GetMetadataActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.GetMetadataActivity
withDescription(String description)
Set the description property: Activity description.GetMetadataActivity
withFieldList(List<Object> fieldList)
Set the fieldList property: Fields of metadata to get from dataset.GetMetadataActivity
withFormatSettings(FormatReadSettings formatSettings)
Set the formatSettings property: GetMetadata activity format settings.GetMetadataActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.GetMetadataActivity
withName(String name)
Set the name property: Activity name.GetMetadataActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.GetMetadataActivity
withStoreSettings(StoreReadSettings storeSettings)
Set the storeSettings property: GetMetadata activity store settings.GetMetadataActivity
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 GetMetadataActivity 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 GetMetadataActivity 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 GetMetadataActivity 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 GetMetadataActivity 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 GetMetadataActivity 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 GetMetadataActivity 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.
-
dataset
public DatasetReference dataset()
Get the dataset property: GetMetadata activity dataset reference.- Returns:
- the dataset value.
-
withDataset
public GetMetadataActivity withDataset(DatasetReference dataset)
Set the dataset property: GetMetadata activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the GetMetadataActivity object itself.
-
fieldList
public List<Object> fieldList()
Get the fieldList property: Fields of metadata to get from dataset.- Returns:
- the fieldList value.
-
withFieldList
public GetMetadataActivity withFieldList(List<Object> fieldList)
Set the fieldList property: Fields of metadata to get from dataset.- Parameters:
fieldList
- the fieldList value to set.- Returns:
- the GetMetadataActivity object itself.
-
storeSettings
public StoreReadSettings storeSettings()
Get the storeSettings property: GetMetadata activity store settings.- Returns:
- the storeSettings value.
-
withStoreSettings
public GetMetadataActivity withStoreSettings(StoreReadSettings storeSettings)
Set the storeSettings property: GetMetadata activity store settings.- Parameters:
storeSettings
- the storeSettings value to set.- Returns:
- the GetMetadataActivity object itself.
-
formatSettings
public FormatReadSettings formatSettings()
Get the formatSettings property: GetMetadata activity format settings.- Returns:
- the formatSettings value.
-
withFormatSettings
public GetMetadataActivity withFormatSettings(FormatReadSettings formatSettings)
Set the formatSettings property: GetMetadata activity format settings.- Parameters:
formatSettings
- the formatSettings value to set.- Returns:
- the GetMetadataActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-