Interface CfnRestoreTestingSelection.ProtectedResourceConditionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRestoreTestingSelection.ProtectedResourceConditionsProperty.Jsii$Proxy
- Enclosing class:
CfnRestoreTestingSelection
@Stability(Stable)
public static interface CfnRestoreTestingSelection.ProtectedResourceConditionsProperty
extends software.amazon.jsii.JsiiSerializable
The conditions that you define for resources in your restore testing plan using tags.
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.*; ProtectedResourceConditionsProperty protectedResourceConditionsProperty = ProtectedResourceConditionsProperty.builder() .stringEquals(List.of(KeyValueProperty.builder() .key("key") .value("value") .build())) .stringNotEquals(List.of(KeyValueProperty.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnRestoreTestingSelection.ProtectedResourceConditionsProperty
-
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 only those resources that you tagged that do not have the same value.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."
- See Also:
-
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."
- See Also:
-
builder
@Stability(Stable) static CfnRestoreTestingSelection.ProtectedResourceConditionsProperty.Builder builder()
-