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