Route.Update Interface
Implements
public static interface Route.Update
extends Settable<Update>
The entirety of a route update inside an AfdEndpoint.Update flow.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Update |
withCacheConfiguration(AfdRouteCacheConfiguration cacheConfiguration)
Specifies the cache configuration for this route. |
| abstract Update |
withEnabledState(EnabledState enabledState)
Specifies the enabled state of this route. |
| abstract Update |
withForwardingProtocol(ForwardingProtocol forwardingProtocol)
Specifies the forwarding protocol for this route. |
| abstract Update |
withHttpsRedirect(HttpsRedirect httpsRedirect)
Specifies the HTTPS redirect configuration for this route. |
| abstract Update |
withLinkToDefaultDomain(LinkToDefaultDomain linkToDefaultDomain)
Specifies whether this route should be linked to the default endpoint domain. |
| abstract Update |
withOriginGroupResourceId(String originGroupResourceId)
Specifies the resource ID of the origin group for this route. |
| abstract Update |
withOriginPath(String originPath)
Specifies the path to use when routing to the origin. |
| abstract Update |
withPatternsToMatch(List<String> patternsToMatch)
Specifies the patterns to match for this route. |
| abstract Update |
withRuleSetResourceIds(List<String> ruleSetResourceIds)
Specifies the resource IDs of rule sets for this route. |
| abstract Update |
withSupportedProtocols(List<AfdEndpointProtocols> supportedProtocols)
Specifies the supported protocols for this route. |
Method Details
withCacheConfiguration
public abstract Route.Update withCacheConfiguration(AfdRouteCacheConfiguration cacheConfiguration)
Specifies the cache configuration for this route.
Parameters:
Returns:
withEnabledState
public abstract Route.Update withEnabledState(EnabledState enabledState)
Specifies the enabled state of this route.
Parameters:
Returns:
withForwardingProtocol
public abstract Route.Update withForwardingProtocol(ForwardingProtocol forwardingProtocol)
Specifies the forwarding protocol for this route.
Parameters:
Returns:
withHttpsRedirect
public abstract Route.Update withHttpsRedirect(HttpsRedirect httpsRedirect)
Specifies the HTTPS redirect configuration for this route.
Parameters:
Returns:
withLinkToDefaultDomain
public abstract Route.Update withLinkToDefaultDomain(LinkToDefaultDomain linkToDefaultDomain)
Specifies whether this route should be linked to the default endpoint domain.
Parameters:
Returns:
withOriginGroupResourceId
public abstract Route.Update withOriginGroupResourceId(String originGroupResourceId)
Specifies the resource ID of the origin group for this route.
Parameters:
Returns:
withOriginPath
public abstract Route.Update withOriginPath(String originPath)
Specifies the path to use when routing to the origin.
Parameters:
Returns:
withPatternsToMatch
public abstract Route.Update withPatternsToMatch(List<String> patternsToMatch)
Specifies the patterns to match for this route.
Parameters:
Returns:
withRuleSetResourceIds
public abstract Route.Update withRuleSetResourceIds(List<String> ruleSetResourceIds)
Specifies the resource IDs of rule sets for this route.
Parameters:
Returns:
withSupportedProtocols
public abstract Route.Update withSupportedProtocols(List<AfdEndpointProtocols> supportedProtocols)
Specifies the supported protocols for this route.
Parameters:
Returns: