Class CfnHubV2PropsMixin.NetworkScanningProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnHubV2PropsMixin.NetworkScanningProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubV2PropsMixin.NetworkScanningProperty>
- Enclosing interface:
CfnHubV2PropsMixin.NetworkScanningProperty
@Stability(Stable)
public static final class CfnHubV2PropsMixin.NetworkScanningProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHubV2PropsMixin.NetworkScanningProperty>
A builder for
CfnHubV2PropsMixin.NetworkScanningProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHubV2PropsMixin.NetworkScanningProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnHubV2PropsMixin.NetworkScanningProperty.getStatus()- Parameters:
status- Whether the Network Scanning feature is enabled for this account and Region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHubV2PropsMixin.NetworkScanningProperty>- Returns:
- a new instance of
CfnHubV2PropsMixin.NetworkScanningProperty - Throws:
NullPointerException- if any required attribute was not provided
-