Class FrontendEndpointInner

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.frontdoor.fluent.models.FrontendEndpointInner

public final class FrontendEndpointInner extends com.azure.core.management.SubResource
A frontend endpoint used for routing.
  • Constructor Details

    • FrontendEndpointInner

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

    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • withName

      public FrontendEndpointInner withName(String name)
      Set the name property: Resource name.
      Parameters:
      name - the name value to set.
      Returns:
      the FrontendEndpointInner object itself.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • withId

      public FrontendEndpointInner withId(String id)
      Overrides:
      withId in class com.azure.core.management.SubResource
    • 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.
    • 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner 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 FrontendEndpointInner object itself.
    • validate

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