Class CfnCisScanConfiguration.CisTargetsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration.CisTargetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCisScanConfiguration.CisTargetsProperty>
- Enclosing interface:
CfnCisScanConfiguration.CisTargetsProperty
@Stability(Stable)
public static final class CfnCisScanConfiguration.CisTargetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCisScanConfiguration.CisTargetsProperty>
A builder for
CfnCisScanConfiguration.CisTargetsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(List<String> accountIds) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getAccountIds()
build()
Builds the configured instance.targetResourceTags
(Map<String, ? extends List<String>> targetResourceTags) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getTargetResourceTags()
targetResourceTags
(IResolvable targetResourceTags) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getTargetResourceTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
@Stability(Stable) public CfnCisScanConfiguration.CisTargetsProperty.Builder accountIds(List<String> accountIds) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getAccountIds()
- Parameters:
accountIds
- The CIS target account ids. This parameter is required.- Returns:
this
-
targetResourceTags
@Stability(Stable) public CfnCisScanConfiguration.CisTargetsProperty.Builder targetResourceTags(IResolvable targetResourceTags) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getTargetResourceTags()
- Parameters:
targetResourceTags
- The CIS target resource tags. This parameter is required.- Returns:
this
-
targetResourceTags
@Stability(Stable) public CfnCisScanConfiguration.CisTargetsProperty.Builder targetResourceTags(Map<String, ? extends List<String>> targetResourceTags) Sets the value ofCfnCisScanConfiguration.CisTargetsProperty.getTargetResourceTags()
- Parameters:
targetResourceTags
- The CIS target resource tags. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCisScanConfiguration.CisTargetsProperty>
- Returns:
- a new instance of
CfnCisScanConfiguration.CisTargetsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-