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