Condition

class Condition

Contains an array of triplets made up of a condition type (such as StringEquals), a key, and a value. Used to filter resources using their tags and assign them to a backup plan. Case sensitive.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The key in a key-value pair. For example, in the tag Department: Accounting, Department is the key.

Link copied to clipboard

An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection.

Link copied to clipboard

The value in a key-value pair. For example, in the tag Department: Accounting, Accounting is the value.

Functions

Link copied to clipboard
inline fun copy(block: Condition.Builder.() -> Unit = {}): Condition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String