OriginGroup.Update Interface

Implements

public static interface OriginGroup.Update
extends Settable<Update>

The entirety of an origin group update inside a CdnProfile#update() flow.

Method Summary

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

Starts the definition of a new origin to be attached to this origin group.

abstract Update updateOrigin(String name)

Begins the update of an existing origin in this origin group.

abstract Update withHealthProbeSettings(HealthProbeParameters healthProbeSettings)

Specifies the health probe settings for this origin group.

abstract Update withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)

Specifies the load balancing settings for this origin group.

abstract Update withoutOrigin(String name)

Removes an origin from this origin group.

abstract Update withSessionAffinityState(EnabledState sessionAffinityState)

Specifies the session affinity state for this origin group.

abstract Update withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer minutes)

Specifies the time in minutes to shift traffic gradually to a healed or new endpoint.

Method Details

defineOrigin

public abstract Origin.UpdateDefinitionStages.Blank<OriginGroup.Update> defineOrigin(String name)

Starts the definition of a new origin to be attached to this origin group.

Parameters:

name - a new origin name

Returns:

the first stage of a new origin definition

updateOrigin

public abstract Origin.Update updateOrigin(String name)

Begins the update of an existing origin in this origin group.

Parameters:

name - the name of an existing origin

Returns:

the first stage of the origin update

withHealthProbeSettings

public abstract OriginGroup.Update withHealthProbeSettings(HealthProbeParameters healthProbeSettings)

Specifies the health probe settings for this origin group.

Parameters:

healthProbeSettings - the health probe settings

Returns:

the next stage of the update

withLoadBalancingSettings

public abstract OriginGroup.Update withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)

Specifies the load balancing settings for this origin group.

Parameters:

loadBalancingSettings - the load balancing settings

Returns:

the next stage of the update

withoutOrigin

public abstract OriginGroup.Update withoutOrigin(String name)

Removes an origin from this origin group.

Parameters:

name - the name of an existing origin

Returns:

the next stage of the origin group update

withSessionAffinityState

public abstract OriginGroup.Update withSessionAffinityState(EnabledState sessionAffinityState)

Specifies the session affinity state for this origin group.

Parameters:

sessionAffinityState - the session affinity state

Returns:

the next stage of the update

withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes

public abstract OriginGroup.Update withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer minutes)

Specifies the time in minutes to shift traffic gradually to a healed or new endpoint.

Parameters:

minutes - the traffic restoration time in minutes

Returns:

the next stage of the update

Applies to