Class CfnAlarm.WallClockWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.CfnAlarm.WallClockWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarm.WallClockWindowProperty>
- Enclosing interface:
CfnAlarm.WallClockWindowProperty
@Stability(Stable)
public static final class CfnAlarm.WallClockWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarm.WallClockWindowProperty>
A builder for
CfnAlarm.WallClockWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlarm.WallClockWindowProperty.getTimezone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timezone
Sets the value ofCfnAlarm.WallClockWindowProperty.getTimezone()- Parameters:
timezone- The timezone for wall clock evaluation, in IANA time zone format (e.g., America/New_York, UTC).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarm.WallClockWindowProperty>- Returns:
- a new instance of
CfnAlarm.WallClockWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-