Class CfnMalwareProtectionPlan.CFNTaggingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnMalwareProtectionPlan.CFNTaggingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNTaggingProperty>
- Enclosing interface:
CfnMalwareProtectionPlan.CFNTaggingProperty
@Stability(Stable)
public static final class CfnMalwareProtectionPlan.CFNTaggingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNTaggingProperty>
A builder for
CfnMalwareProtectionPlan.CFNTaggingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMalwareProtectionPlan.CFNTaggingProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnMalwareProtectionPlan.CFNTaggingProperty.getStatus()
- Parameters:
status
- Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object. Potential values includeENABLED
andDISABLED
. These values are case-sensitive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMalwareProtectionPlan.CFNTaggingProperty>
- Returns:
- a new instance of
CfnMalwareProtectionPlan.CFNTaggingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-