Class WatcherUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.WatcherUpdateParameters
The WatcherUpdateParameters model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.name()
Get the name property: Gets or sets the name of the resource.void
validate()
Validates the instance.withExecutionFrequencyInSeconds
(Long executionFrequencyInSeconds) Set the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.Set the name property: Gets or sets the name of the resource.
-
Constructor Details
-
WatcherUpdateParameters
public WatcherUpdateParameters()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the resource.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the resource.- Parameters:
name
- the name value to set.- Returns:
- the WatcherUpdateParameters object itself.
-
executionFrequencyInSeconds
Get the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.- Returns:
- the executionFrequencyInSeconds value.
-
withExecutionFrequencyInSeconds
Set the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.- Parameters:
executionFrequencyInSeconds
- the executionFrequencyInSeconds value to set.- Returns:
- the WatcherUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-