Class AfdOriginGroupUpdateParameters

java.lang.Object
com.azure.resourcemanager.cdn.models.AfdOriginGroupUpdateParameters

public final class AfdOriginGroupUpdateParameters extends Object
AFDOrigin group properties needed for origin group creation or update.
  • Constructor Details

    • AfdOriginGroupUpdateParameters

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

    • profileName

      public String profileName()
      Get the profileName property: The name of the profile which holds the origin group.
      Returns:
      the profileName value.
    • loadBalancingSettings

      public LoadBalancingSettingsParameters loadBalancingSettings()
      Get the loadBalancingSettings property: Load balancing settings for a backend pool.
      Returns:
      the loadBalancingSettings value.
    • withLoadBalancingSettings

      public AfdOriginGroupUpdateParameters withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
      Set the loadBalancingSettings property: Load balancing settings for a backend pool.
      Parameters:
      loadBalancingSettings - the loadBalancingSettings value to set.
      Returns:
      the AfdOriginGroupUpdateParameters object itself.
    • healthProbeSettings

      public HealthProbeParameters healthProbeSettings()
      Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
      Returns:
      the healthProbeSettings value.
    • withHealthProbeSettings

      public AfdOriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
      Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
      Parameters:
      healthProbeSettings - the healthProbeSettings value to set.
      Returns:
      the AfdOriginGroupUpdateParameters object itself.
    • trafficRestorationTimeToHealedOrNewEndpointsInMinutes

      public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
      Get the trafficRestorationTimeToHealedOrNewEndpointsInMinutes property: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
      Returns:
      the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value.
    • withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes

      public AfdOriginGroupUpdateParameters withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
      Set the trafficRestorationTimeToHealedOrNewEndpointsInMinutes property: Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
      Parameters:
      trafficRestorationTimeToHealedOrNewEndpointsInMinutes - the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.
      Returns:
      the AfdOriginGroupUpdateParameters object itself.
    • sessionAffinityState

      public EnabledState sessionAffinityState()
      Get the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
      Returns:
      the sessionAffinityState value.
    • withSessionAffinityState

      public AfdOriginGroupUpdateParameters withSessionAffinityState(EnabledState sessionAffinityState)
      Set the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
      Parameters:
      sessionAffinityState - the sessionAffinityState value to set.
      Returns:
      the AfdOriginGroupUpdateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.