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