TriggerChangeDetectionParameters Class
- java.
lang. Object - com.
azure. resourcemanager. storagesync. models. TriggerChangeDetectionParameters
- com.
Implements
public final class TriggerChangeDetectionParameters
implements JsonSerializable<TriggerChangeDetectionParameters>
The parameters used when calling trigger change detection action on cloud endpoint.
Constructor Summary
| Constructor | Description |
|---|---|
| TriggerChangeDetectionParameters() |
Creates an instance of Trigger |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Change |
changeDetectionMode()
Get the change |
| String |
directoryPath()
Get the directory |
|
static
Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger |
| List<String> |
paths()
Get the paths property: Array of relative paths on the Azure File share to be included in the change detection. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Trigger |
withChangeDetectionMode(ChangeDetectionMode changeDetectionMode)
Set the change |
|
Trigger |
withDirectoryPath(String directoryPath)
Set the directory |
|
Trigger |
withPaths(List<String> paths)
Set the paths property: Array of relative paths on the Azure File share to be included in the change detection. |
Methods inherited from java.lang.Object
Constructor Details
TriggerChangeDetectionParameters
public TriggerChangeDetectionParameters()
Creates an instance of TriggerChangeDetectionParameters class.
Method Details
changeDetectionMode
public ChangeDetectionMode changeDetectionMode()
Get the changeDetectionMode property: Change Detection Mode. Applies to a directory specified in directoryPath parameter.
Returns:
directoryPath
public String directoryPath()
Get the directoryPath property: Relative path to a directory Azure File share for which change detection is to be performed.
Returns:
fromJson
public static TriggerChangeDetectionParameters fromJson(JsonReader jsonReader)
Reads an instance of TriggerChangeDetectionParameters from the JsonReader.
Parameters:
Returns:
Throws:
paths
public List<String> paths()
Get the paths property: Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories.
Returns:
toJson
withChangeDetectionMode
public TriggerChangeDetectionParameters withChangeDetectionMode(ChangeDetectionMode changeDetectionMode)
Set the changeDetectionMode property: Change Detection Mode. Applies to a directory specified in directoryPath parameter.
Parameters:
Returns:
withDirectoryPath
public TriggerChangeDetectionParameters withDirectoryPath(String directoryPath)
Set the directoryPath property: Relative path to a directory Azure File share for which change detection is to be performed.
Parameters:
Returns:
withPaths
public TriggerChangeDetectionParameters withPaths(List<String> paths)
Set the paths property: Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories.
Parameters:
Returns: