Class CfnDetector.CFNMalwareProtectionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnDetector.CFNMalwareProtectionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.CFNMalwareProtectionConfigurationProperty>
- Enclosing interface:
- CfnDetector.CFNMalwareProtectionConfigurationProperty
@Stability(Stable)
public static final class CfnDetector.CFNMalwareProtectionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.CFNMalwareProtectionConfigurationProperty>
A builder for
CfnDetector.CFNMalwareProtectionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scanEc2InstanceWithFindings(IResolvable scanEc2InstanceWithFindings) scanEc2InstanceWithFindings(CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty scanEc2InstanceWithFindings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scanEc2InstanceWithFindings
@Stability(Stable) public CfnDetector.CFNMalwareProtectionConfigurationProperty.Builder scanEc2InstanceWithFindings(IResolvable scanEc2InstanceWithFindings) Sets the value ofCfnDetector.CFNMalwareProtectionConfigurationProperty.getScanEc2InstanceWithFindings()- Parameters:
scanEc2InstanceWithFindings- Describes the configuration of Malware Protection for EC2 instances with findings.- Returns:
this
-
scanEc2InstanceWithFindings
@Stability(Stable) public CfnDetector.CFNMalwareProtectionConfigurationProperty.Builder scanEc2InstanceWithFindings(CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty scanEc2InstanceWithFindings) Sets the value ofCfnDetector.CFNMalwareProtectionConfigurationProperty.getScanEc2InstanceWithFindings()- Parameters:
scanEc2InstanceWithFindings- Describes the configuration of Malware Protection for EC2 instances with findings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetector.CFNMalwareProtectionConfigurationProperty>- Returns:
- a new instance of
CfnDetector.CFNMalwareProtectionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-