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