Class CfnInsight.IpFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnInsight.IpFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInsight.IpFilterProperty>
- Enclosing interface:
CfnInsight.IpFilterProperty
@Stability(Stable)
public static final class CfnInsight.IpFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInsight.IpFilterProperty>
A builder for
CfnInsight.IpFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnInsight.IpFilterProperty.getCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnInsight.IpFilterProperty.getCidr()- Parameters:
cidr- A finding's CIDR value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInsight.IpFilterProperty>- Returns:
- a new instance of
CfnInsight.IpFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-