Class FrontendEndpointUpdateParameters

java.lang.Object
com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParameters
Direct Known Subclasses:
FrontendEndpointProperties

public class FrontendEndpointUpdateParameters extends Object
Frontend endpoint used in routing rule.
  • Constructor Details

    • FrontendEndpointUpdateParameters

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

    • hostname

      public String hostname()
      Get the hostname property: The host name of the frontendEndpoint. Must be a domain name.
      Returns:
      the hostname value.
    • withHostname

      public FrontendEndpointUpdateParameters withHostname(String hostname)
      Set the hostname property: The host name of the frontendEndpoint. Must be a domain name.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the FrontendEndpointUpdateParameters object itself.
    • sessionAffinityEnabledState

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

      public FrontendEndpointUpdateParameters withSessionAffinityEnabledState(SessionAffinityEnabledState sessionAffinityEnabledState)
      Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
      Parameters:
      sessionAffinityEnabledState - the sessionAffinityEnabledState value to set.
      Returns:
      the FrontendEndpointUpdateParameters object itself.
    • sessionAffinityTtlSeconds

      public Integer sessionAffinityTtlSeconds()
      Get the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.
      Returns:
      the sessionAffinityTtlSeconds value.
    • withSessionAffinityTtlSeconds

      public FrontendEndpointUpdateParameters withSessionAffinityTtlSeconds(Integer sessionAffinityTtlSeconds)
      Set the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.
      Parameters:
      sessionAffinityTtlSeconds - the sessionAffinityTtlSeconds value to set.
      Returns:
      the FrontendEndpointUpdateParameters object itself.
    • webApplicationFirewallPolicyLink

      public FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink()
      Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).
      Returns:
      the webApplicationFirewallPolicyLink value.
    • withWebApplicationFirewallPolicyLink

      public FrontendEndpointUpdateParameters withWebApplicationFirewallPolicyLink(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)
      Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).
      Parameters:
      webApplicationFirewallPolicyLink - the webApplicationFirewallPolicyLink value to set.
      Returns:
      the FrontendEndpointUpdateParameters object itself.
    • validate

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