Class CfnCisScanConfiguration.TimeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration.TimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCisScanConfiguration.TimeProperty>
- Enclosing interface:
CfnCisScanConfiguration.TimeProperty
@Stability(Stable)
public static final class CfnCisScanConfiguration.TimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCisScanConfiguration.TimeProperty>
A builder for
CfnCisScanConfiguration.TimeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCisScanConfiguration.TimeProperty.getTimeOfDay()
Sets the value ofCfnCisScanConfiguration.TimeProperty.getTimeZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timeOfDay
Sets the value ofCfnCisScanConfiguration.TimeProperty.getTimeOfDay()
- Parameters:
timeOfDay
- The time of day in 24-hour format (00:00). This parameter is required.- Returns:
this
-
timeZone
Sets the value ofCfnCisScanConfiguration.TimeProperty.getTimeZone()
- Parameters:
timeZone
- The timezone. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCisScanConfiguration.TimeProperty>
- Returns:
- a new instance of
CfnCisScanConfiguration.TimeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-