Class CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty>
- Enclosing interface:
CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty
@Stability(Stable)
public static final class CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.getCode()Sets the value ofCfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.Builder code(String code) Sets the value ofCfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.getCode()- Parameters:
code- The status code of the Malware Protection plan. For more information, see Malware Protection plan resource status in the GuardDuty User Guide .- Returns:
this
-
message
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.Builder message(String message) Sets the value ofCfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty.getMessage()- Parameters:
message- Issue message that specifies the reason. For information about potential troubleshooting steps, see Troubleshooting Malware Protection for S3 status issues in the Amazon GuardDuty User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty>- Returns:
- a new instance of
CfnMalwareProtectionPlanPropsMixin.CFNStatusReasonsProperty - Throws:
NullPointerException- if any required attribute was not provided
-