Class CfnFilter.NumberFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnFilter.NumberFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFilter.NumberFilterProperty>
- Enclosing interface:
CfnFilter.NumberFilterProperty
@Stability(Stable)
public static final class CfnFilter.NumberFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFilter.NumberFilterProperty>
A builder for
CfnFilter.NumberFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.lowerInclusive
(Number lowerInclusive) Sets the value ofCfnFilter.NumberFilterProperty.getLowerInclusive()
upperInclusive
(Number upperInclusive) Sets the value ofCfnFilter.NumberFilterProperty.getUpperInclusive()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lowerInclusive
@Stability(Stable) public CfnFilter.NumberFilterProperty.Builder lowerInclusive(Number lowerInclusive) Sets the value ofCfnFilter.NumberFilterProperty.getLowerInclusive()
- Parameters:
lowerInclusive
- The lowest number to be included in the filter.- Returns:
this
-
upperInclusive
@Stability(Stable) public CfnFilter.NumberFilterProperty.Builder upperInclusive(Number upperInclusive) Sets the value ofCfnFilter.NumberFilterProperty.getUpperInclusive()
- Parameters:
upperInclusive
- The highest number to be included in the filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFilter.NumberFilterProperty>
- Returns:
- a new instance of
CfnFilter.NumberFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-