You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDS::Types::Range

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

A range of integer values.

Instance Attribute Summary collapse

Instance Attribute Details

#fromInteger

The minimum value in the range.

Returns:

  • (Integer)


10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10984

class Range < Struct.new(
  :from,
  :to,
  :step)
  include Aws::Structure
end

#stepInteger

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...

Returns:

  • (Integer)


10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10984

class Range < Struct.new(
  :from,
  :to,
  :step)
  include Aws::Structure
end

#toInteger

The maximum value in the range.

Returns:

  • (Integer)


10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10984

class Range < Struct.new(
  :from,
  :to,
  :step)
  include Aws::Structure
end