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