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