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 |
Documentation
A range of integer values.
See: newRange
smart constructor.
Range' | |
|
Instances
FromXML Range Source # | |
Generic Range Source # | |
Read Range Source # | |
Show Range Source # | |
NFData Range Source # | |
Defined in Amazonka.RDS.Types.Range | |
Eq Range Source # | |
Hashable Range Source # | |
Defined in Amazonka.RDS.Types.Range | |
type Rep Range Source # | |
Defined in Amazonka.RDS.Types.Range type Rep Range = D1 ('MetaData "Range" "Amazonka.RDS.Types.Range" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "Range'" 'PrefixI 'True) (S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) |
Create a value of Range
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:from:Range'
, range_from
- The minimum value in the range.
$sel:step:Range'
, range_step
- The step value for the range. For example, if you have a range of 5,000
to 10,000, with a step value of 1,000, the valid values start at 5,000
and step up by 1,000. Even though 7,500 is within the range, it isn't a
valid value for the range. The valid values are 5,000, 6,000, 7,000,
8,000...
$sel:to:Range'
, range_to
- The maximum value in the range.
range_step :: Lens' Range (Maybe Int) Source #
The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...