Class CfnAutomationRule.DateFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAutomationRule.DateFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRule.DateFilterProperty>
- Enclosing interface:
CfnAutomationRule.DateFilterProperty
@Stability(Stable)
public static final class CfnAutomationRule.DateFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRule.DateFilterProperty>
A builder for
CfnAutomationRule.DateFilterProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateRange
(IResolvable dateRange) Sets the value ofCfnAutomationRule.DateFilterProperty.getDateRange()
dateRange
(CfnAutomationRule.DateRangeProperty dateRange) Sets the value ofCfnAutomationRule.DateFilterProperty.getDateRange()
Sets the value ofCfnAutomationRule.DateFilterProperty.getEnd()
Sets the value ofCfnAutomationRule.DateFilterProperty.getStart()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateRange
@Stability(Stable) public CfnAutomationRule.DateFilterProperty.Builder dateRange(IResolvable dateRange) Sets the value ofCfnAutomationRule.DateFilterProperty.getDateRange()
- Parameters:
dateRange
- A date range for the date filter.- Returns:
this
-
dateRange
@Stability(Stable) public CfnAutomationRule.DateFilterProperty.Builder dateRange(CfnAutomationRule.DateRangeProperty dateRange) Sets the value ofCfnAutomationRule.DateFilterProperty.getDateRange()
- Parameters:
dateRange
- A date range for the date filter.- Returns:
this
-
end
Sets the value ofCfnAutomationRule.DateFilterProperty.getEnd()
- Parameters:
end
- A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in AWS Security Hub , see Timestamps .- Returns:
this
-
start
Sets the value ofCfnAutomationRule.DateFilterProperty.getStart()
- Parameters:
start
- A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in AWS Security Hub , see Timestamps .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomationRule.DateFilterProperty>
- Returns:
- a new instance of
CfnAutomationRule.DateFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-