Class FrontendEndpointProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.FrontendEndpointProperties

public final class FrontendEndpointProperties extends FrontendEndpointUpdateParameters
The JSON object that contains the properties required to create a frontend endpoint.
  • Constructor Details

    • FrontendEndpointProperties

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

    • resourceState

      public FrontDoorResourceState resourceState()
      Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

      Resource status.

      Returns:
      the resourceState value.
    • customHttpsProvisioningState

      public CustomHttpsProvisioningState customHttpsProvisioningState()
      Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.
      Returns:
      the customHttpsProvisioningState value.
    • customHttpsProvisioningSubstate

      public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()
      Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
      Returns:
      the customHttpsProvisioningSubstate value.
    • customHttpsConfiguration

      public CustomHttpsConfiguration customHttpsConfiguration()
      Get the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.
      Returns:
      the customHttpsConfiguration value.
    • withHostname

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

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

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

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

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