Interface WallClockWindow.Builder

All Superinterfaces:
Buildable, CopyableBuilder<WallClockWindow.Builder,WallClockWindow>, SdkBuilder<WallClockWindow.Builder,WallClockWindow>, SdkPojo
Enclosing class:
WallClockWindow

@Mutable @NotThreadSafe public static interface WallClockWindow.Builder extends SdkPojo, CopyableBuilder<WallClockWindow.Builder,WallClockWindow>
  • Method Details

    • timezone

      WallClockWindow.Builder timezone(String timezone)

      The time zone to use when the alarm aligns the evaluation window to clock boundaries. You can specify an IANA time zone name (for example, America/New_York), a fixed UTC offset (for example, +05:30), or an offset-prefixed identifier (for example, UTC+05:30). The offset must be aligned to a multiple of 5 minutes. If you don't specify a time zone, CloudWatch uses UTC.

      The time zone affects window alignment for all periods, including periods of one hour or shorter.

      Parameters:
      timezone - The time zone to use when the alarm aligns the evaluation window to clock boundaries. You can specify an IANA time zone name (for example, America/New_York), a fixed UTC offset (for example, +05:30), or an offset-prefixed identifier (for example, UTC+05:30). The offset must be aligned to a multiple of 5 minutes. If you don't specify a time zone, CloudWatch uses UTC.

      The time zone affects window alignment for all periods, including periods of one hour or shorter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.