Class FrontendEndpointUpdateParameters
java.lang.Object
com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParameters
- Direct Known Subclasses:
FrontendEndpointProperties
Frontend endpoint used in routing rule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FrontendEndpointUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionhostname()
Get the hostname property: The host name of the frontendEndpoint.Get the sessionAffinityEnabledState property: Whether to allow session affinity on this host.Get the sessionAffinityTtlSeconds property: UNUSED.void
validate()
Validates the instance.Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).withHostname
(String hostname) Set the hostname property: The host name of the frontendEndpoint.withSessionAffinityEnabledState
(SessionAffinityEnabledState sessionAffinityEnabledState) Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host.withSessionAffinityTtlSeconds
(Integer sessionAffinityTtlSeconds) Set the sessionAffinityTtlSeconds property: UNUSED.withWebApplicationFirewallPolicyLink
(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink) Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).
-
Constructor Details
-
FrontendEndpointUpdateParameters
public FrontendEndpointUpdateParameters()Creates an instance of FrontendEndpointUpdateParameters class.
-
-
Method Details
-
hostname
Get the hostname property: The host name of the frontendEndpoint. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
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
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
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.
-