Class: Aws::Finspace::Types::PortRange

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-finspace/types.rb

Overview

The range of ports the rule applies to.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromInteger

The first port in the range.

Returns:

  • (Integer)


4596
4597
4598
4599
4600
4601
# File 'lib/aws-sdk-finspace/types.rb', line 4596

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#toInteger

The last port in the range.

Returns:

  • (Integer)


4596
4597
4598
4599
4600
4601
# File 'lib/aws-sdk-finspace/types.rb', line 4596

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end