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