public class RouteUpdateParameters extends Object
| Constructor and Description |
|---|
RouteUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
Object |
compressionSettings()
Get the compressionSettings property: compression settings.
|
List<ResourceReference> |
customDomains()
Get the customDomains property: Domains referenced by this endpoint.
|
EnabledState |
enabledState()
Get the enabledState property: Whether to enable use of this rule.
|
ForwardingProtocol |
forwardingProtocol()
Get the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.
|
HttpsRedirect |
httpsRedirect()
Get the httpsRedirect property: Whether to automatically redirect HTTP traffic to HTTPS traffic.
|
LinkToDefaultDomain |
linkToDefaultDomain()
Get the linkToDefaultDomain property: whether this route will be linked to the default endpoint domain.
|
ResourceReference |
originGroup()
Get the originGroup property: A reference to the origin group.
|
String |
originPath()
Get the originPath property: A directory path on the origin that AzureFrontDoor can use to retrieve content from,
e.g.
|
List<String> |
patternsToMatch()
Get the patternsToMatch property: The route patterns of the rule.
|
AfdQueryStringCachingBehavior |
queryStringCachingBehavior()
Get the queryStringCachingBehavior property: Defines how CDN caches requests that include query strings.
|
List<ResourceReference> |
ruleSets()
Get the ruleSets property: rule sets referenced by this endpoint.
|
List<AfdEndpointProtocols> |
supportedProtocols()
Get the supportedProtocols property: List of supported protocols for this route.
|
void |
validate()
Validates the instance.
|
RouteUpdateParameters |
withCompressionSettings(Object compressionSettings)
Set the compressionSettings property: compression settings.
|
RouteUpdateParameters |
withCustomDomains(List<ResourceReference> customDomains)
Set the customDomains property: Domains referenced by this endpoint.
|
RouteUpdateParameters |
withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule.
|
RouteUpdateParameters |
withForwardingProtocol(ForwardingProtocol forwardingProtocol)
Set the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.
|
RouteUpdateParameters |
withHttpsRedirect(HttpsRedirect httpsRedirect)
Set the httpsRedirect property: Whether to automatically redirect HTTP traffic to HTTPS traffic.
|
RouteUpdateParameters |
withLinkToDefaultDomain(LinkToDefaultDomain linkToDefaultDomain)
Set the linkToDefaultDomain property: whether this route will be linked to the default endpoint domain.
|
RouteUpdateParameters |
withOriginGroup(ResourceReference originGroup)
Set the originGroup property: A reference to the origin group.
|
RouteUpdateParameters |
withOriginPath(String originPath)
Set the originPath property: A directory path on the origin that AzureFrontDoor can use to retrieve content from,
e.g.
|
RouteUpdateParameters |
withPatternsToMatch(List<String> patternsToMatch)
Set the patternsToMatch property: The route patterns of the rule.
|
RouteUpdateParameters |
withQueryStringCachingBehavior(AfdQueryStringCachingBehavior queryStringCachingBehavior)
Set the queryStringCachingBehavior property: Defines how CDN caches requests that include query strings.
|
RouteUpdateParameters |
withRuleSets(List<ResourceReference> ruleSets)
Set the ruleSets property: rule sets referenced by this endpoint.
|
RouteUpdateParameters |
withSupportedProtocols(List<AfdEndpointProtocols> supportedProtocols)
Set the supportedProtocols property: List of supported protocols for this route.
|
public List<ResourceReference> customDomains()
public RouteUpdateParameters withCustomDomains(List<ResourceReference> customDomains)
customDomains - the customDomains value to set.public ResourceReference originGroup()
public RouteUpdateParameters withOriginGroup(ResourceReference originGroup)
originGroup - the originGroup value to set.public String originPath()
public RouteUpdateParameters withOriginPath(String originPath)
originPath - the originPath value to set.public List<ResourceReference> ruleSets()
public RouteUpdateParameters withRuleSets(List<ResourceReference> ruleSets)
ruleSets - the ruleSets value to set.public List<AfdEndpointProtocols> supportedProtocols()
public RouteUpdateParameters withSupportedProtocols(List<AfdEndpointProtocols> supportedProtocols)
supportedProtocols - the supportedProtocols value to set.public List<String> patternsToMatch()
public RouteUpdateParameters withPatternsToMatch(List<String> patternsToMatch)
patternsToMatch - the patternsToMatch value to set.public Object compressionSettings()
public RouteUpdateParameters withCompressionSettings(Object compressionSettings)
compressionSettings - the compressionSettings value to set.public AfdQueryStringCachingBehavior queryStringCachingBehavior()
public RouteUpdateParameters withQueryStringCachingBehavior(AfdQueryStringCachingBehavior queryStringCachingBehavior)
queryStringCachingBehavior - the queryStringCachingBehavior value to set.public ForwardingProtocol forwardingProtocol()
public RouteUpdateParameters withForwardingProtocol(ForwardingProtocol forwardingProtocol)
forwardingProtocol - the forwardingProtocol value to set.public LinkToDefaultDomain linkToDefaultDomain()
public RouteUpdateParameters withLinkToDefaultDomain(LinkToDefaultDomain linkToDefaultDomain)
linkToDefaultDomain - the linkToDefaultDomain value to set.public HttpsRedirect httpsRedirect()
public RouteUpdateParameters withHttpsRedirect(HttpsRedirect httpsRedirect)
httpsRedirect - the httpsRedirect value to set.public EnabledState enabledState()
public RouteUpdateParameters withEnabledState(EnabledState enabledState)
enabledState - the enabledState value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.