AfdEndpoint.Update Interface

Implements

public static interface AfdEndpoint.Update
extends Settable<Update>

The entirety of an AFD endpoint update inside a CdnProfile#update() flow.

Method Summary

Modifier and Type Method and Description
abstract Blank<Update> defineRoute(String name)

Starts the definition of a new route to be attached to this endpoint.

abstract Update updateRoute(String name)

Begins the description of an update of an existing route in this endpoint.

abstract Update withEnabledState(EnabledState enabledState)

Specifies whether the endpoint should be enabled.

abstract Update withoutRoute(String name)

Removes a route from this endpoint.

Method Details

defineRoute

public abstract Route.UpdateDefinitionStages.Blank<AfdEndpoint.Update> defineRoute(String name)

Starts the definition of a new route to be attached to this endpoint.

Parameters:

name - a new route name

Returns:

the first stage of a new route definition

updateRoute

public abstract Route.Update updateRoute(String name)

Begins the description of an update of an existing route in this endpoint.

Parameters:

name - the name of an existing route

Returns:

the first stage of the update of the route

withEnabledState

public abstract AfdEndpoint.Update withEnabledState(EnabledState enabledState)

Specifies whether the endpoint should be enabled.

Parameters:

enabledState - the desired enablement state

Returns:

the next stage of the update

withoutRoute

public abstract AfdEndpoint.Update withoutRoute(String name)

Removes a route from this endpoint.

Parameters:

name - the name of an existing route

Returns:

the next stage of the endpoint update

Applies to