Class: Aws::TimestreamInfluxDB::Types::PercentOrAbsoluteLong

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

Overview

Note:

PercentOrAbsoluteLong is a union - when making an API calls you must set exactly one of the members.

Note:

PercentOrAbsoluteLong is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PercentOrAbsoluteLong corresponding to the set member.

Percent or Absolute Long for InfluxDB parameters

Direct Known Subclasses

Absolute, Percent, Unknown

Defined Under Namespace

Classes: Absolute, Percent, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#absoluteInteger

Absolute long for InfluxDB parameters.

Returns:

  • (Integer)


2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 2583

class PercentOrAbsoluteLong < Struct.new(
  :percent,
  :absolute,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Percent < PercentOrAbsoluteLong; end
  class Absolute < PercentOrAbsoluteLong; end
  class Unknown < PercentOrAbsoluteLong; end
end

#percentString

Percent for InfluxDB parameters.

Returns:

  • (String)


2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 2583

class PercentOrAbsoluteLong < Struct.new(
  :percent,
  :absolute,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Percent < PercentOrAbsoluteLong; end
  class Absolute < PercentOrAbsoluteLong; end
  class Unknown < PercentOrAbsoluteLong; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2583
2584
2585
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 2583

def unknown
  @unknown
end