Class PipelinePolicy

java.lang.Object
com.azure.resourcemanager.datafactory.models.PipelinePolicy

public final class PipelinePolicy extends Object
Pipeline Policy.
  • Constructor Details

    • PipelinePolicy

      public PipelinePolicy()
      Creates an instance of PipelinePolicy class.
  • Method Details

    • 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.