public void setSpoolingMode(String spoolingMode) {
        this.spoolingMode = spoolingMode;
    }
<p>
(Optional) Whether to store collected data after a vehicle lost a connection with the cloud. After a connection
is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise. If you want to store
collected data when a vehicle loses connection with the cloud, use <code>TO_DISK</code>. If it's not specified,
<code>OFF</code> is used.
</p>
<p>
Default: <code>OFF</code>
</p>

@param spoolingMode
       (Optional) Whether to store collected data after a vehicle lost a connection with the cloud. After a
       connection is re-established, the data is automatically forwarded to Amazon Web Services IoT FleetWise. If
       you want to store collected data when a vehicle loses connection with the cloud, use <code>TO_DISK</code>.
       If it's not specified, <code>OFF</code> is used.</p>
       <p>
       Default: <code>OFF</code>
@see SpoolingMode
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/CreateCampaignRequest.java