Package software.amazon.awscdk
Class CfnResourceScan.ScanFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnResourceScan.ScanFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceScan.ScanFilterProperty>
- Enclosing interface:
CfnResourceScan.ScanFilterProperty
@Stability(Stable)
public static final class CfnResourceScan.ScanFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceScan.ScanFilterProperty>
A builder for
CfnResourceScan.ScanFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResourceScan.ScanFilterProperty.getTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
types
Sets the value ofCfnResourceScan.ScanFilterProperty.getTypes()- Parameters:
types- An array of strings where each string represents an AWS resource type to scan.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceScan.ScanFilterProperty>- Returns:
- a new instance of
CfnResourceScan.ScanFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-