amazonka-backup-gateway-2.0: Amazon Backup Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupGateway.Types.MaintenanceStartTime

Description

 
Synopsis

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

  • dayOfMonth :: Maybe Natural

    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.

  • dayOfWeek :: Maybe Natural

    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.

  • hourOfDay :: Natural

    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.

  • minuteOfHour :: Natural

    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.

Instances

Instances details
FromJSON MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

Generic MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

Associated Types

type Rep MaintenanceStartTime :: Type -> Type #

Read MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

Show MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

NFData MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

Methods

rnf :: MaintenanceStartTime -> () #

Eq MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

Hashable MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

type Rep MaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.Types.MaintenanceStartTime

type Rep MaintenanceStartTime = D1 ('MetaData "MaintenanceStartTime" "Amazonka.BackupGateway.Types.MaintenanceStartTime" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "MaintenanceStartTime'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dayOfMonth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "dayOfWeek") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "hourOfDay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "minuteOfHour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newMaintenanceStartTime Source #

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.