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