Class CfnRestoreTestingSelection.KeyValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnRestoreTestingSelection.KeyValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRestoreTestingSelection.KeyValueProperty>
- Enclosing interface:
CfnRestoreTestingSelection.KeyValueProperty
@Stability(Stable)
public static final class CfnRestoreTestingSelection.KeyValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRestoreTestingSelection.KeyValueProperty>
A builder for
CfnRestoreTestingSelection.KeyValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRestoreTestingSelection.KeyValueProperty.getKey()
Sets the value ofCfnRestoreTestingSelection.KeyValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnRestoreTestingSelection.KeyValueProperty.getKey()
- Parameters:
key
- The tag key. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnRestoreTestingSelection.KeyValueProperty.getValue()
- Parameters:
value
- The tag value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRestoreTestingSelection.KeyValueProperty>
- Returns:
- a new instance of
CfnRestoreTestingSelection.KeyValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-