Interface CfnBackupSelection.ConditionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupSelection.ConditionsProperty.Jsii$Proxy
- Enclosing class:
- CfnBackupSelection
@Stability(Stable)
public static interface CfnBackupSelection.ConditionsProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about which resources to include or exclude from a backup plan using their tags.
Conditions are case sensitive.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.backup.*; ConditionsProperty conditionsProperty = ConditionsProperty.builder() .stringEquals(List.of(ConditionParameterProperty.builder() .conditionKey("conditionKey") .conditionValue("conditionValue") .build())) .stringLike(List.of(ConditionParameterProperty.builder() .conditionKey("conditionKey") .conditionValue("conditionValue") .build())) .stringNotEquals(List.of(ConditionParameterProperty.builder() .conditionKey("conditionKey") .conditionValue("conditionValue") .build())) .stringNotLike(List.of(ConditionParameterProperty.builder() .conditionKey("conditionKey") .conditionValue("conditionValue") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupSelection.ConditionsProperty
static final class
An implementation forCfnBackupSelection.ConditionsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Filters the values of your tagged resources for only those resources that you tagged with the same value.default Object
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string.default Object
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.default Object
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStringEquals
Filters the values of your tagged resources for only those resources that you tagged with the same value.Also called "exact matching."
-
getStringLike
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string.For example, "prod*" or "rod" matches the tag value "production".
-
getStringNotEquals
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.Also called "negated matching."
-
getStringNotLike
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string. -
builder
-