Class CustomActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.CustomActivityTypeProperties
-
public final class CustomActivityTypeProperties extends Object
Custom activity properties.
-
-
Constructor Summary
Constructors Constructor Description CustomActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectautoUserSpecification()Get the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.Objectcommand()Get the command property: Command for custom activity Type: string (or Expression with resultType string).Map<String,Object>extendedProperties()Get the extendedProperties property: User defined property bag.ObjectfolderPath()Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).CustomActivityReferenceObjectreferenceObjects()Get the referenceObjects property: Reference objects.LinkedServiceReferenceresourceLinkedService()Get the resourceLinkedService property: Resource linked service reference.ObjectretentionTimeInDays()Get the retentionTimeInDays property: The retention time for the files submitted for custom activity.voidvalidate()Validates the instance.CustomActivityTypePropertieswithAutoUserSpecification(Object autoUserSpecification)Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.CustomActivityTypePropertieswithCommand(Object command)Set the command property: Command for custom activity Type: string (or Expression with resultType string).CustomActivityTypePropertieswithExtendedProperties(Map<String,Object> extendedProperties)Set the extendedProperties property: User defined property bag.CustomActivityTypePropertieswithFolderPath(Object folderPath)Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).CustomActivityTypePropertieswithReferenceObjects(CustomActivityReferenceObject referenceObjects)Set the referenceObjects property: Reference objects.CustomActivityTypePropertieswithResourceLinkedService(LinkedServiceReference resourceLinkedService)Set the resourceLinkedService property: Resource linked service reference.CustomActivityTypePropertieswithRetentionTimeInDays(Object retentionTimeInDays)Set the retentionTimeInDays property: The retention time for the files submitted for custom activity.
-
-
-
Method Detail
-
command
public Object command()
Get the command property: Command for custom activity Type: string (or Expression with resultType string).- Returns:
- the command value.
-
withCommand
public CustomActivityTypeProperties withCommand(Object command)
Set the command property: Command for custom activity Type: string (or Expression with resultType string).- Parameters:
command- the command value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
resourceLinkedService
public LinkedServiceReference resourceLinkedService()
Get the resourceLinkedService property: Resource linked service reference.- Returns:
- the resourceLinkedService value.
-
withResourceLinkedService
public CustomActivityTypeProperties withResourceLinkedService(LinkedServiceReference resourceLinkedService)
Set the resourceLinkedService property: Resource linked service reference.- Parameters:
resourceLinkedService- the resourceLinkedService value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
folderPath
public Object folderPath()
Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).- Returns:
- the folderPath value.
-
withFolderPath
public CustomActivityTypeProperties withFolderPath(Object folderPath)
Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).- Parameters:
folderPath- the folderPath value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
referenceObjects
public CustomActivityReferenceObject referenceObjects()
Get the referenceObjects property: Reference objects.- Returns:
- the referenceObjects value.
-
withReferenceObjects
public CustomActivityTypeProperties withReferenceObjects(CustomActivityReferenceObject referenceObjects)
Set the referenceObjects property: Reference objects.- Parameters:
referenceObjects- the referenceObjects value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
extendedProperties
public Map<String,Object> extendedProperties()
Get the extendedProperties property: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.- Returns:
- the extendedProperties value.
-
withExtendedProperties
public CustomActivityTypeProperties withExtendedProperties(Map<String,Object> extendedProperties)
Set the extendedProperties property: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.- Parameters:
extendedProperties- the extendedProperties value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
retentionTimeInDays
public Object retentionTimeInDays()
Get the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).- Returns:
- the retentionTimeInDays value.
-
withRetentionTimeInDays
public CustomActivityTypeProperties withRetentionTimeInDays(Object retentionTimeInDays)
Set the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).- Parameters:
retentionTimeInDays- the retentionTimeInDays value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
autoUserSpecification
public Object autoUserSpecification()
Get the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).- Returns:
- the autoUserSpecification value.
-
withAutoUserSpecification
public CustomActivityTypeProperties withAutoUserSpecification(Object autoUserSpecification)
Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).- Parameters:
autoUserSpecification- the autoUserSpecification value to set.- Returns:
- the CustomActivityTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-