Interface CfnCampaign.CollectionSchemeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.CollectionSchemeProperty.Jsii$Proxy
- Enclosing class:
- CfnCampaign
@Stability(Stable)
public static interface CfnCampaign.CollectionSchemeProperty
extends software.amazon.jsii.JsiiSerializable
Specifies what data to collect and how often or when to collect it.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
CollectionSchemeProperty collectionSchemeProperty = CollectionSchemeProperty.builder()
.conditionBasedCollectionScheme(ConditionBasedCollectionSchemeProperty.builder()
.expression("expression")
// the properties below are optional
.conditionLanguageVersion(123)
.minimumTriggerIntervalMs(123)
.triggerMode("triggerMode")
.build())
.timeBasedCollectionScheme(TimeBasedCollectionSchemeProperty.builder()
.periodMs(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.CollectionSchemePropertystatic final classAn implementation forCfnCampaign.CollectionSchemeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Object(Optional) Information about a collection scheme that uses a simple logical expression to recognize what data to collect.default Object(Optional) Information about a collection scheme that uses a time period to decide how often to collect data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConditionBasedCollectionScheme
(Optional) Information about a collection scheme that uses a simple logical expression to recognize what data to collect. -
getTimeBasedCollectionScheme
(Optional) Information about a collection scheme that uses a time period to decide how often to collect data. -
builder
-