Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.BackupGateway.Types.MaintenanceStartTime
Description
Synopsis
- data MaintenanceStartTime = MaintenanceStartTime' {}
- newMaintenanceStartTime :: Natural -> Natural -> MaintenanceStartTime
- maintenanceStartTime_dayOfMonth :: Lens' MaintenanceStartTime (Maybe Natural)
- maintenanceStartTime_dayOfWeek :: Lens' MaintenanceStartTime (Maybe Natural)
- maintenanceStartTime_hourOfDay :: Lens' MaintenanceStartTime Natural
- maintenanceStartTime_minuteOfHour :: Lens' MaintenanceStartTime Natural
Documentation
data MaintenanceStartTime Source #
This is your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
See: newMaintenanceStartTime
smart constructor.
Constructors
MaintenanceStartTime' | |
Fields
|
Instances
newMaintenanceStartTime Source #
Arguments
:: Natural | |
-> Natural | |
-> MaintenanceStartTime |
Create a value of MaintenanceStartTime
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dayOfMonth:MaintenanceStartTime'
, maintenanceStartTime_dayOfMonth
- The day of the month component of the maintenance start time represented
as an ordinal number from 1 to 28, where 1 represents the first day of
the month and 28 represents the last day of the month.
$sel:dayOfWeek:MaintenanceStartTime'
, maintenanceStartTime_dayOfWeek
- An ordinal number between 0 and 6 that represents the day of the week,
where 0 represents Sunday and 6 represents Saturday. The day of week is
in the time zone of the gateway.
$sel:hourOfDay:MaintenanceStartTime'
, maintenanceStartTime_hourOfDay
- The hour component of the maintenance start time represented as hh,
where hh is the hour (0 to 23). The hour of the day is in the time
zone of the gateway.
$sel:minuteOfHour:MaintenanceStartTime'
, maintenanceStartTime_minuteOfHour
- The minute component of the maintenance start time represented as mm,
where mm is the minute (0 to 59). The minute of the hour is in the
time zone of the gateway.
maintenanceStartTime_dayOfMonth :: Lens' MaintenanceStartTime (Maybe Natural) Source #
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
maintenanceStartTime_dayOfWeek :: Lens' MaintenanceStartTime (Maybe Natural) Source #
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
maintenanceStartTime_hourOfDay :: Lens' MaintenanceStartTime Natural Source #
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
maintenanceStartTime_minuteOfHour :: Lens' MaintenanceStartTime Natural Source #
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.