Class AFDEndpointUpdateParameters

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

public class AFDEndpointUpdateParameters extends Object
Properties required to create or update an endpoint.
  • Constructor Details

    • AFDEndpointUpdateParameters

      public AFDEndpointUpdateParameters()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get endpoint tags.
      Returns:
      the tags value
    • withTags

      public AFDEndpointUpdateParameters withTags(Map<String,String> tags)
      Set endpoint tags.
      Parameters:
      tags - the tags value to set
      Returns:
      the AFDEndpointUpdateParameters object itself.
    • originResponseTimeoutSeconds

      public Integer originResponseTimeoutSeconds()
      Get send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
      Returns:
      the originResponseTimeoutSeconds value
    • withOriginResponseTimeoutSeconds

      public AFDEndpointUpdateParameters withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
      Set send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
      Parameters:
      originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set
      Returns:
      the AFDEndpointUpdateParameters object itself.
    • enabledState

      public EnabledState enabledState()
      Get whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
      Returns:
      the enabledState value
    • withEnabledState

      public AFDEndpointUpdateParameters withEnabledState(EnabledState enabledState)
      Set whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
      Parameters:
      enabledState - the enabledState value to set
      Returns:
      the AFDEndpointUpdateParameters object itself.