PipelineElapsedTimeMetricPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. PipelineElapsedTimeMetricPolicy
- com.
public final class PipelineElapsedTimeMetricPolicy
Pipeline ElapsedTime Metric Policy.
Constructor Summary
Constructor | Description |
---|---|
PipelineElapsedTimeMetricPolicy() |
Creates an instance of Pipeline |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
duration()
Get the duration property: Time |
void |
validate()
Validates the instance. |
Pipeline |
withDuration(Object duration)
Set the duration property: Time |
Methods inherited from java.lang.Object
Constructor Details
PipelineElapsedTimeMetricPolicy
public PipelineElapsedTimeMetricPolicy()
Creates an instance of PipelineElapsedTimeMetricPolicy class.
Method Details
duration
public Object duration()
Get the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.
Returns:
validate
public void validate()
Validates the instance.
withDuration
public PipelineElapsedTimeMetricPolicy withDuration(Object duration)
Set the duration property: TimeSpan value, after which an Azure Monitoring Metric is fired.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for