Class: Aws::IoTFleetWise::Types::CollectionScheme
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTFleetWise::Types::CollectionScheme
- Includes:
- Structure, Structure::Union
- Defined in:
- 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.
469 470 471 472 473 474 475 476 477 478 479 480 |
# File '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_scheme ⇒ Types::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 '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 |
#unknown ⇒ Object
Returns the value of attribute unknown
469 470 471 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 469 def unknown @unknown end |