Class CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.inspectorv2.mixins.CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty>
- Enclosing interface:
CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty
@Stability(Stable)
public static final class CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty>
A builder for
CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getDays()startTime(IResolvable startTime) Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getStartTime()Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
days
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder days(List<String> days) Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getDays()- Parameters:
days- The weekly schedule's days.- Returns:
this
-
startTime
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder startTime(IResolvable startTime) Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getStartTime()- Parameters:
startTime- The weekly schedule's start time.- Returns:
this
-
startTime
@Stability(Stable) public CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.Builder startTime(CfnCisScanConfigurationPropsMixin.TimeProperty startTime) Sets the value ofCfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty.getStartTime()- Parameters:
startTime- The weekly schedule's start time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty>- Returns:
- a new instance of
CfnCisScanConfigurationPropsMixin.WeeklyScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-