Class CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty>
- Enclosing interface:
CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty
@Stability(Stable)
public static final class CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ebsVolumes
(Boolean ebsVolumes) ebsVolumes
(IResolvable ebsVolumes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ebsVolumes
@Stability(Stable) public CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty.Builder ebsVolumes(Boolean ebsVolumes) - Parameters:
ebsVolumes
- Describes the configuration for scanning EBS volumes as data source.- Returns:
this
-
ebsVolumes
@Stability(Stable) public CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty.Builder ebsVolumes(IResolvable ebsVolumes) - Parameters:
ebsVolumes
- Describes the configuration for scanning EBS volumes as data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty>
- Returns:
- a new instance of
CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-