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