Class: Aws::IoTFleetWise::Types::CollectionScheme

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

Overview

Note:

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

Note:

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

Specifies what data to collect and how often or when to collect it.

Defined Under Namespace

Classes: ConditionBasedCollectionScheme, TimeBasedCollectionScheme, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#condition_based_collection_schemeTypes::ConditionBasedCollectionScheme

Information about a collection scheme that uses a simple logical expression to recognize what data to collect.



469
470
471
472
473
474
475
476
477
478
479
480
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 469

class CollectionScheme < Struct.new(
  :time_based_collection_scheme,
  :condition_based_collection_scheme,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TimeBasedCollectionScheme < CollectionScheme; end
  class ConditionBasedCollectionScheme < CollectionScheme; end
  class Unknown < CollectionScheme; end
end

#time_based_collection_schemeTypes::TimeBasedCollectionScheme

Information about a collection scheme that uses a time period to decide how often to collect data.



469
470
471
472
473
474
475
476
477
478
479
480
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 469

class CollectionScheme < Struct.new(
  :time_based_collection_scheme,
  :condition_based_collection_scheme,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TimeBasedCollectionScheme < CollectionScheme; end
  class ConditionBasedCollectionScheme < CollectionScheme; end
  class Unknown < CollectionScheme; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



469
470
471
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 469

def unknown
  @unknown
end