Class CfnBackupSelection.ConditionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupSelection.ConditionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupSelection.ConditionsProperty>
- Enclosing interface:
CfnBackupSelection.ConditionsProperty
@Stability(Stable)
public static final class CfnBackupSelection.ConditionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupSelection.ConditionsProperty>
A builder for
CfnBackupSelection.ConditionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.stringEquals(List<? extends Object> stringEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringEquals()stringEquals(IResolvable stringEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringEquals()stringLike(List<? extends Object> stringLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringLike()stringLike(IResolvable stringLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringLike()stringNotEquals(List<? extends Object> stringNotEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotEquals()stringNotEquals(IResolvable stringNotEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotEquals()stringNotLike(List<? extends Object> stringNotLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotLike()stringNotLike(IResolvable stringNotLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotLike()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stringEquals
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringEquals(IResolvable stringEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringEquals()- Parameters:
stringEquals- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."- Returns:
this
-
stringEquals
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringEquals(List<? extends Object> stringEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringEquals()- Parameters:
stringEquals- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."- Returns:
this
-
stringLike
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringLike(IResolvable stringLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringLike()- Parameters:
stringLike- 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".- Returns:
this
-
stringLike
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringLike(List<? extends Object> stringLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringLike()- Parameters:
stringLike- 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".- Returns:
this
-
stringNotEquals
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringNotEquals(IResolvable stringNotEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotEquals()- Parameters:
stringNotEquals- 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."- Returns:
this
-
stringNotEquals
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringNotEquals(List<? extends Object> stringNotEquals) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotEquals()- Parameters:
stringNotEquals- 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."- Returns:
this
-
stringNotLike
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringNotLike(IResolvable stringNotLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotLike()- Parameters:
stringNotLike- Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.- Returns:
this
-
stringNotLike
@Stability(Stable) public CfnBackupSelection.ConditionsProperty.Builder stringNotLike(List<? extends Object> stringNotLike) Sets the value ofCfnBackupSelection.ConditionsProperty.getStringNotLike()- Parameters:
stringNotLike- Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupSelection.ConditionsProperty>- Returns:
- a new instance of
CfnBackupSelection.ConditionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-