Class CfnMalwareProtectionPlan.TagItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnMalwareProtectionPlan.TagItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMalwareProtectionPlan.TagItemProperty>
- Enclosing interface:
CfnMalwareProtectionPlan.TagItemProperty
@Stability(Stable)
public static final class CfnMalwareProtectionPlan.TagItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMalwareProtectionPlan.TagItemProperty>
A builder for
CfnMalwareProtectionPlan.TagItemProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMalwareProtectionPlan.TagItemProperty.getKey()
Sets the value ofCfnMalwareProtectionPlan.TagItemProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnMalwareProtectionPlan.TagItemProperty.getKey()
- Parameters:
key
- The tag key. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnMalwareProtectionPlan.TagItemProperty.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<CfnMalwareProtectionPlan.TagItemProperty>
- Returns:
- a new instance of
CfnMalwareProtectionPlan.TagItemProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-