Class PipelinePolicy
java.lang.Object
com.azure.resourcemanager.datafactory.models.PipelinePolicy
Pipeline Policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the elapsedTimeMetric property: Pipeline ElapsedTime Metric Policy.void
validate()
Validates the instance.withElapsedTimeMetric
(PipelineElapsedTimeMetricPolicy elapsedTimeMetric) Set the elapsedTimeMetric property: Pipeline ElapsedTime Metric Policy.
-
Constructor Details
-
PipelinePolicy
public PipelinePolicy()Creates an instance of PipelinePolicy class.
-
-
Method Details
-
elapsedTimeMetric
Get the elapsedTimeMetric property: Pipeline ElapsedTime Metric Policy.- Returns:
- the elapsedTimeMetric value.
-
withElapsedTimeMetric
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.
-