Class CfnInsightPropsMixin.DateRangeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnInsightPropsMixin.DateRangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInsightPropsMixin.DateRangeProperty>
- Enclosing interface:
CfnInsightPropsMixin.DateRangeProperty
@Stability(Stable)
public static final class CfnInsightPropsMixin.DateRangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInsightPropsMixin.DateRangeProperty>
A builder for
CfnInsightPropsMixin.DateRangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnInsightPropsMixin.DateRangeProperty.getUnit()Sets the value ofCfnInsightPropsMixin.DateRangeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
unit
Sets the value ofCfnInsightPropsMixin.DateRangeProperty.getUnit()- Parameters:
unit- A date range unit for the date filter.- Returns:
this
-
value
Sets the value ofCfnInsightPropsMixin.DateRangeProperty.getValue()- Parameters:
value- A date range value for the date filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInsightPropsMixin.DateRangeProperty>- Returns:
- a new instance of
CfnInsightPropsMixin.DateRangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-