Class CfnBackupSelection.ConditionParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupSelection.ConditionParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupSelection.ConditionParameterProperty>
- Enclosing interface:
- CfnBackupSelection.ConditionParameterProperty
@Stability(Stable)
public static final class CfnBackupSelection.ConditionParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupSelection.ConditionParameterProperty>
A builder for
CfnBackupSelection.ConditionParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditionKey(String conditionKey) Sets the value ofCfnBackupSelection.ConditionParameterProperty.getConditionKey()conditionValue(String conditionValue) Sets the value ofCfnBackupSelection.ConditionParameterProperty.getConditionValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionKey
@Stability(Stable) public CfnBackupSelection.ConditionParameterProperty.Builder conditionKey(String conditionKey) Sets the value ofCfnBackupSelection.ConditionParameterProperty.getConditionKey()- Parameters:
conditionKey- The key in a key-value pair. For example, in the tagDepartment: Accounting,Departmentis the key.- Returns:
this
-
conditionValue
@Stability(Stable) public CfnBackupSelection.ConditionParameterProperty.Builder conditionValue(String conditionValue) Sets the value ofCfnBackupSelection.ConditionParameterProperty.getConditionValue()- Parameters:
conditionValue- The value in a key-value pair. For example, in the tagDepartment: Accounting,Accountingis the value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupSelection.ConditionParameterProperty>- Returns:
- a new instance of
CfnBackupSelection.ConditionParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-