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