public void setCollectionScheme(CollectionScheme collectionScheme) {
        this.collectionScheme = collectionScheme;
    }
<p>
The data collection scheme associated with the campaign. You can specify a scheme that collects data based on
time or an event.
</p>

@param collectionScheme
       The data collection scheme associated with the campaign. You can specify a scheme that collects data based
       on time or an event.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/CreateCampaignRequest.java