Class: Aws::IoTFleetWise::Types::CollectionScheme
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTFleetWise::Types::CollectionScheme
- Defined in:
- gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb
Overview
CollectionScheme is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
ConditionBasedCollectionScheme, TimeBasedCollectionScheme, Unknown
Defined Under Namespace
Classes: ConditionBasedCollectionScheme, TimeBasedCollectionScheme, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#condition_based_collection_scheme ⇒ Types::ConditionBasedCollectionScheme
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
-
#time_based_collection_scheme ⇒ Types::TimeBasedCollectionScheme
Information about a collection scheme that uses a time period to decide how often to collect data.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#condition_based_collection_scheme ⇒ Types::ConditionBasedCollectionScheme
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 478 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_scheme ⇒ Types::TimeBasedCollectionScheme
Information about a collection scheme that uses a time period to decide how often to collect data.
478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 478 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
478 479 480 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 478 def unknown @unknown end |