Class CfnFilter.DateFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnFilter.DateFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFilter.DateFilterProperty>
- Enclosing interface:
CfnFilter.DateFilterProperty
@Stability(Stable)
public static final class CfnFilter.DateFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFilter.DateFilterProperty>
A builder for
CfnFilter.DateFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endInclusive
(Number endInclusive) Sets the value ofCfnFilter.DateFilterProperty.getEndInclusive()
startInclusive
(Number startInclusive) Sets the value ofCfnFilter.DateFilterProperty.getStartInclusive()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endInclusive
Sets the value ofCfnFilter.DateFilterProperty.getEndInclusive()
- Parameters:
endInclusive
- A timestamp representing the end of the time period filtered on.- Returns:
this
-
startInclusive
@Stability(Stable) public CfnFilter.DateFilterProperty.Builder startInclusive(Number startInclusive) Sets the value ofCfnFilter.DateFilterProperty.getStartInclusive()
- Parameters:
startInclusive
- A timestamp representing the start of the time period filtered on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFilter.DateFilterProperty>
- Returns:
- a new instance of
CfnFilter.DateFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-