Class EndpointPropertiesUpdateParametersDeliveryPolicy

java.lang.Object
com.microsoft.azure.management.cdn.EndpointPropertiesUpdateParametersDeliveryPolicy

public class EndpointPropertiesUpdateParametersDeliveryPolicy extends Object
A policy that specifies the delivery rules to be used for an endpoint.
  • Constructor Details

    • EndpointPropertiesUpdateParametersDeliveryPolicy

      public EndpointPropertiesUpdateParametersDeliveryPolicy()
  • Method Details

    • description

      public String description()
      Get user-friendly description of the policy.
      Returns:
      the description value
    • withDescription

      public EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String description)
      Set user-friendly description of the policy.
      Parameters:
      description - the description value to set
      Returns:
      the EndpointPropertiesUpdateParametersDeliveryPolicy object itself.
    • rules

      public List<DeliveryRule> rules()
      Get a list of the delivery rules.
      Returns:
      the rules value
    • withRules

      Set a list of the delivery rules.
      Parameters:
      rules - the rules value to set
      Returns:
      the EndpointPropertiesUpdateParametersDeliveryPolicy object itself.