Class PipelineElapsedTimeMetricPolicy
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.PipelineElapsedTimeMetricPolicy
-
public final class PipelineElapsedTimeMetricPolicy extends Object
Pipeline ElapsedTime Metric Policy.
-
-
Constructor Summary
Constructors Constructor Description PipelineElapsedTimeMetricPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
duration()
Get the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.void
validate()
Validates the instance.PipelineElapsedTimeMetricPolicy
withDuration(Object duration)
Set the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.
-
-
-
Method Detail
-
duration
public Object duration()
Get the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.- Returns:
- the duration value.
-
withDuration
public PipelineElapsedTimeMetricPolicy withDuration(Object duration)
Set the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.- Parameters:
duration
- the duration value to set.- Returns:
- the PipelineElapsedTimeMetricPolicy object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-