Condition class

Contains an array of triplets made up of a condition type (such as StringEquals), a key, and a value. Conditions are used to filter resources in a selection that is assigned to a backup plan.

Constructors

Condition({required String conditionKey, required ConditionType conditionType, required String conditionValue})
Condition.fromJson(Map<String, dynamic> json)
factory

Properties

conditionKey String
The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "ec2:ResourceTag/Department" is the key.
final
conditionType ConditionType
An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in a selection.
final
conditionValue String
The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "accounting" is the value.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited