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