RuleSet.Update Interface

Implements

public static interface RuleSet.Update
extends Settable<Update>

The entirety of a rule set update inside a CdnProfile#update() flow.

Method Summary

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

Starts the definition of a new rule to be attached to this rule set.

abstract Update updateRule(String name)

Begins the update of an existing rule in this rule set.

abstract Update withoutRule(String name)

Removes a rule from this rule set.

Method Details

defineRule

public abstract Rule.UpdateDefinitionStages.Blank<RuleSet.Update> defineRule(String name)

Starts the definition of a new rule to be attached to this rule set.

Parameters:

name - a new rule name

Returns:

the first stage of a new rule definition

updateRule

public abstract Rule.Update updateRule(String name)

Begins the update of an existing rule in this rule set.

Parameters:

name - the name of an existing rule

Returns:

the first stage of the rule update

withoutRule

public abstract RuleSet.Update withoutRule(String name)

Removes a rule from this rule set.

Parameters:

name - the name of an existing rule

Returns:

the next stage of the rule set update

Applies to