Class CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.inspectorv2.CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.ScheduleProperty>
- Enclosing interface:
CfnCisScanConfigurationPropsMixin.ScheduleProperty
@Stability(Stable)
public static final class CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.ScheduleProperty>
A builder for
CfnCisScanConfigurationPropsMixin.ScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getDaily()daily(IResolvable daily) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getDaily()Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getMonthly()monthly(IResolvable monthly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getMonthly()Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getOneTime()Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getWeekly()weekly(IResolvable weekly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getWeekly()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
daily
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder daily(IResolvable daily) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getDaily()- Parameters:
daily- A daily schedule.- Returns:
this
-
daily
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder daily(CfnCisScanConfigurationPropsMixin.DailyScheduleProperty daily) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getDaily()- Parameters:
daily- A daily schedule.- Returns:
this
-
monthly
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder monthly(IResolvable monthly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getMonthly()- Parameters:
monthly- A monthly schedule.- Returns:
this
-
monthly
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder monthly(CfnCisScanConfigurationPropsMixin.MonthlyScheduleProperty monthly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getMonthly()- Parameters:
monthly- A monthly schedule.- Returns:
this
-
oneTime
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder oneTime(Object oneTime) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getOneTime()- Parameters:
oneTime- A one time schedule.- Returns:
this
-
weekly
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder weekly(IResolvable weekly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getWeekly()- Parameters:
weekly- A weekly schedule.- Returns:
this
-
weekly
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.ScheduleProperty.Builder weekly(CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty weekly) Sets the value ofCfnCisScanConfigurationPropsMixin.ScheduleProperty.getWeekly()- Parameters:
weekly- A weekly schedule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.ScheduleProperty>- Returns:
- a new instance of
CfnCisScanConfigurationPropsMixin.ScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-