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:

cacheConfiguration - the cache configuration

Returns:

the next stage of the update

withEnabledState

public abstract Route.Update withEnabledState(EnabledState enabledState)

Specifies the enabled state of this route.

Parameters:

enabledState - the enabled state

Returns:

the next stage of the update

withForwardingProtocol

public abstract Route.Update withForwardingProtocol(ForwardingProtocol forwardingProtocol)

Specifies the forwarding protocol for this route.

Parameters:

forwardingProtocol - the forwarding protocol

Returns:

the next stage of the update

withHttpsRedirect

public abstract Route.Update withHttpsRedirect(HttpsRedirect httpsRedirect)

Specifies the HTTPS redirect configuration for this route.

Parameters:

httpsRedirect - the HTTPS redirect setting

Returns:

the next stage of the update

withLinkToDefaultDomain

public abstract Route.Update withLinkToDefaultDomain(LinkToDefaultDomain linkToDefaultDomain)

Specifies whether this route should be linked to the default endpoint domain.

Parameters:

linkToDefaultDomain - the link-to-default-domain setting

Returns:

the next stage of the update

withOriginGroupResourceId

public abstract Route.Update withOriginGroupResourceId(String originGroupResourceId)

Specifies the resource ID of the origin group for this route.

Parameters:

originGroupResourceId - the origin group resource ID

Returns:

the next stage of the update

withOriginPath

public abstract Route.Update withOriginPath(String originPath)

Specifies the path to use when routing to the origin.

Parameters:

originPath - the origin path

Returns:

the next stage of the update

withPatternsToMatch

public abstract Route.Update withPatternsToMatch(List<String> patternsToMatch)

Specifies the patterns to match for this route.

Parameters:

patternsToMatch - the patterns to match

Returns:

the next stage of the update

withRuleSetResourceIds

public abstract Route.Update withRuleSetResourceIds(List<String> ruleSetResourceIds)

Specifies the resource IDs of rule sets for this route.

Parameters:

ruleSetResourceIds - the rule set resource IDs

Returns:

the next stage of the update

withSupportedProtocols

public abstract Route.Update withSupportedProtocols(List<AfdEndpointProtocols> supportedProtocols)

Specifies the supported protocols for this route.

Parameters:

supportedProtocols - the supported protocols

Returns:

the next stage of the update

Applies to