/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iotfleetwise.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateCampaignRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the campaign to create. *
*/ private String name; /** ** An optional description of the campaign to help identify its purpose. *
*/ private String description; /** ** (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. *
*/ private String signalCatalogArn; /** ** The ARN of the vehicle or fleet to deploy a campaign to. *
*/ private String targetArn; /** *
* (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified,
* 0
is used.
*
* Default: 0
*
* (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle * data isn't collected after the campaign expires. *
** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) *
*/ private java.util.Date expiryTime; /** *
* (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If
* it's not specified, 0
is used.
*
* Default: 0
*
* (Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you
* want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS
. If it's not specified, OFF
* is used.
*
* Default: OFF
*
* (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 TO_DISK
. If it's not specified,
* OFF
is used.
*
* Default: OFF
*
* (Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you
* don't want to compress the signals, use OFF
. If it's not specified, SNAPPY
is used.
*
* Default: SNAPPY
*
* (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
* A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified,
* 0
is used.
*
* Default: 0
*
* (Optional) A list of information about signals to collect. *
*/ private java.util.List* The data collection scheme associated with the campaign. You can specify a scheme that collects data based on * time or an event. *
*/ private CollectionScheme collectionScheme; /** ** (Optional) A list of vehicle attributes to associate with a campaign. *
*
* Enrich the data with specified vehicle attributes. For example, add make
and model
to
* the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions
* in Amazon Timestream. You can then query the data against make
and model
.
*
* Default: An empty array *
*/ private java.util.List* Metadata that can be used to manage the campaign. *
*/ private java.util.List* The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon * Timestream. *
** Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data * lakes, centralized data storage, data processing pipelines, and analytics. *
** You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so * that you can identify trends and patterns. *
*/ private java.util.List* The name of the campaign to create. *
* * @param name * The name of the campaign to create. */ public void setName(String name) { this.name = name; } /** ** The name of the campaign to create. *
* * @return The name of the campaign to create. */ public String getName() { return this.name; } /** ** The name of the campaign to create. *
* * @param name * The name of the campaign to create. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withName(String name) { setName(name); return this; } /** ** An optional description of the campaign to help identify its purpose. *
* * @param description * An optional description of the campaign to help identify its purpose. */ public void setDescription(String description) { this.description = description; } /** ** An optional description of the campaign to help identify its purpose. *
* * @return An optional description of the campaign to help identify its purpose. */ public String getDescription() { return this.description; } /** ** An optional description of the campaign to help identify its purpose. *
* * @param description * An optional description of the campaign to help identify its purpose. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withDescription(String description) { setDescription(description); return this; } /** ** (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. *
* * @param signalCatalogArn * (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. */ public void setSignalCatalogArn(String signalCatalogArn) { this.signalCatalogArn = signalCatalogArn; } /** ** (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. *
* * @return (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. */ public String getSignalCatalogArn() { return this.signalCatalogArn; } /** ** (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. *
* * @param signalCatalogArn * (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withSignalCatalogArn(String signalCatalogArn) { setSignalCatalogArn(signalCatalogArn); return this; } /** ** The ARN of the vehicle or fleet to deploy a campaign to. *
* * @param targetArn * The ARN of the vehicle or fleet to deploy a campaign to. */ public void setTargetArn(String targetArn) { this.targetArn = targetArn; } /** ** The ARN of the vehicle or fleet to deploy a campaign to. *
* * @return The ARN of the vehicle or fleet to deploy a campaign to. */ public String getTargetArn() { return this.targetArn; } /** ** The ARN of the vehicle or fleet to deploy a campaign to. *
* * @param targetArn * The ARN of the vehicle or fleet to deploy a campaign to. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withTargetArn(String targetArn) { setTargetArn(targetArn); return this; } /** *
* (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public void setStartTime(java.util.Date startTime) {
this.startTime = startTime;
}
/**
*
* (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public java.util.Date getStartTime() {
return this.startTime;
}
/**
*
* (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withStartTime(java.util.Date startTime) {
setStartTime(startTime);
return this;
}
/**
*
* (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle * data isn't collected after the campaign expires. *
** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) *
* * @param expiryTime * (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). * Vehicle data isn't collected after the campaign expires. ** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) */ public void setExpiryTime(java.util.Date expiryTime) { this.expiryTime = expiryTime; } /** *
* (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle * data isn't collected after the campaign expires. *
** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) *
* * @return (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). * Vehicle data isn't collected after the campaign expires. ** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) */ public java.util.Date getExpiryTime() { return this.expiryTime; } /** *
* (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle * data isn't collected after the campaign expires. *
** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) *
* * @param expiryTime * (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). * Vehicle data isn't collected after the campaign expires. ** Default: 253402214400 (December 31, 9999, 00:00:00 UTC) * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withExpiryTime(java.util.Date expiryTime) { setExpiryTime(expiryTime); return this; } /** *
* (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If
* it's not specified, 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public void setPostTriggerCollectionDuration(Long postTriggerCollectionDuration) {
this.postTriggerCollectionDuration = postTriggerCollectionDuration;
}
/**
*
* (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If
* it's not specified, 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public Long getPostTriggerCollectionDuration() {
return this.postTriggerCollectionDuration;
}
/**
*
* (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If
* it's not specified, 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withPostTriggerCollectionDuration(Long postTriggerCollectionDuration) {
setPostTriggerCollectionDuration(postTriggerCollectionDuration);
return this;
}
/**
*
* (Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you
* want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS
. If it's not specified, OFF
* is used.
*
* Default: OFF
*
SEND_ACTIVE_DTCS
. If it's not specified,
* OFF
is used.
*
* Default: OFF
* @see DiagnosticsMode
*/
public void setDiagnosticsMode(String diagnosticsMode) {
this.diagnosticsMode = diagnosticsMode;
}
/**
*
* (Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you
* want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS
. If it's not specified, OFF
* is used.
*
* Default: OFF
*
SEND_ACTIVE_DTCS
. If it's not specified,
* OFF
is used.
*
* Default: OFF
* @see DiagnosticsMode
*/
public String getDiagnosticsMode() {
return this.diagnosticsMode;
}
/**
*
* (Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you
* want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS
. If it's not specified, OFF
* is used.
*
* Default: OFF
*
SEND_ACTIVE_DTCS
. If it's not specified,
* OFF
is used.
*
* Default: OFF
* @return Returns a reference to this object so that method calls can be chained together.
* @see DiagnosticsMode
*/
public CreateCampaignRequest withDiagnosticsMode(String diagnosticsMode) {
setDiagnosticsMode(diagnosticsMode);
return this;
}
/**
*
* (Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise. If you
* want to send diagnostic trouble codes, use SEND_ACTIVE_DTCS
. If it's not specified, OFF
* is used.
*
* Default: OFF
*
SEND_ACTIVE_DTCS
. If it's not specified,
* OFF
is used.
*
* Default: OFF
* @return Returns a reference to this object so that method calls can be chained together.
* @see DiagnosticsMode
*/
public CreateCampaignRequest withDiagnosticsMode(DiagnosticsMode diagnosticsMode) {
this.diagnosticsMode = diagnosticsMode.toString();
return this;
}
/**
*
* (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 TO_DISK
. If it's not specified,
* OFF
is used.
*
* Default: OFF
*
TO_DISK
.
* If it's not specified, OFF
is used.
*
* Default: OFF
* @see SpoolingMode
*/
public void setSpoolingMode(String spoolingMode) {
this.spoolingMode = 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 TO_DISK
. If it's not specified,
* OFF
is used.
*
* Default: OFF
*
TO_DISK
. If it's not specified, OFF
is used.
*
* Default: OFF
* @see SpoolingMode
*/
public String getSpoolingMode() {
return this.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 TO_DISK
. If it's not specified,
* OFF
is used.
*
* Default: OFF
*
TO_DISK
.
* If it's not specified, OFF
is used.
*
* Default: OFF
* @return Returns a reference to this object so that method calls can be chained together.
* @see SpoolingMode
*/
public CreateCampaignRequest withSpoolingMode(String spoolingMode) {
setSpoolingMode(spoolingMode);
return this;
}
/**
*
* (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 TO_DISK
. If it's not specified,
* OFF
is used.
*
* Default: OFF
*
TO_DISK
.
* If it's not specified, OFF
is used.
*
* Default: OFF
* @return Returns a reference to this object so that method calls can be chained together.
* @see SpoolingMode
*/
public CreateCampaignRequest withSpoolingMode(SpoolingMode spoolingMode) {
this.spoolingMode = spoolingMode.toString();
return this;
}
/**
*
* (Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you
* don't want to compress the signals, use OFF
. If it's not specified, SNAPPY
is used.
*
* Default: SNAPPY
*
OFF
. If it's not specified, SNAPPY
* is used.
*
* Default: SNAPPY
* @see Compression
*/
public void setCompression(String compression) {
this.compression = compression;
}
/**
*
* (Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you
* don't want to compress the signals, use OFF
. If it's not specified, SNAPPY
is used.
*
* Default: SNAPPY
*
OFF
. If it's not specified, SNAPPY
* is used.
*
* Default: SNAPPY
* @see Compression
*/
public String getCompression() {
return this.compression;
}
/**
*
* (Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you
* don't want to compress the signals, use OFF
. If it's not specified, SNAPPY
is used.
*
* Default: SNAPPY
*
OFF
. If it's not specified, SNAPPY
* is used.
*
* Default: SNAPPY
* @return Returns a reference to this object so that method calls can be chained together.
* @see Compression
*/
public CreateCampaignRequest withCompression(String compression) {
setCompression(compression);
return this;
}
/**
*
* (Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If you
* don't want to compress the signals, use OFF
. If it's not specified, SNAPPY
is used.
*
* Default: SNAPPY
*
OFF
. If it's not specified, SNAPPY
* is used.
*
* Default: SNAPPY
* @return Returns a reference to this object so that method calls can be chained together.
* @see Compression
*/
public CreateCampaignRequest withCompression(Compression compression) {
this.compression = compression.toString();
return this;
}
/**
*
* (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
* A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public void setPriority(Integer priority) {
this.priority = priority;
}
/**
*
* (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
* A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
*/
public Integer getPriority() {
return this.priority;
}
/**
*
* (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
* A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified,
* 0
is used.
*
* Default: 0
*
0
is used.
*
* Default: 0
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withPriority(Integer priority) {
setPriority(priority);
return this;
}
/**
*
* (Optional) A list of information about signals to collect. *
* * @return (Optional) A list of information about signals to collect. */ public java.util.List* (Optional) A list of information about signals to collect. *
* * @param signalsToCollect * (Optional) A list of information about signals to collect. */ public void setSignalsToCollect(java.util.Collection* (Optional) A list of information about signals to collect. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSignalsToCollect(java.util.Collection)} or {@link #withSignalsToCollect(java.util.Collection)} if you * want to override the existing values. *
* * @param signalsToCollect * (Optional) A list of information about signals to collect. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withSignalsToCollect(SignalInformation... signalsToCollect) { if (this.signalsToCollect == null) { setSignalsToCollect(new java.util.ArrayList* (Optional) A list of information about signals to collect. *
* * @param signalsToCollect * (Optional) A list of information about signals to collect. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withSignalsToCollect(java.util.Collection* The data collection scheme associated with the campaign. You can specify a scheme that collects data based on * time or an event. *
* * @param collectionScheme * The data collection scheme associated with the campaign. You can specify a scheme that collects data based * on time or an event. */ public void setCollectionScheme(CollectionScheme collectionScheme) { this.collectionScheme = collectionScheme; } /** ** The data collection scheme associated with the campaign. You can specify a scheme that collects data based on * time or an event. *
* * @return The data collection scheme associated with the campaign. You can specify a scheme that collects data * based on time or an event. */ public CollectionScheme getCollectionScheme() { return this.collectionScheme; } /** ** The data collection scheme associated with the campaign. You can specify a scheme that collects data based on * time or an event. *
* * @param collectionScheme * The data collection scheme associated with the campaign. You can specify a scheme that collects data based * on time or an event. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCampaignRequest withCollectionScheme(CollectionScheme collectionScheme) { setCollectionScheme(collectionScheme); return this; } /** ** (Optional) A list of vehicle attributes to associate with a campaign. *
*
* Enrich the data with specified vehicle attributes. For example, add make
and model
to
* the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions
* in Amazon Timestream. You can then query the data against make
and model
.
*
* Default: An empty array *
* * @return (Optional) A list of vehicle attributes to associate with a campaign. *
* Enrich the data with specified vehicle attributes. For example, add make
and
* model
to the campaign, and Amazon Web Services IoT FleetWise will associate the data with
* those attributes as dimensions in Amazon Timestream. You can then query the data against
* make
and model
.
*
* Default: An empty array
*/
public java.util.List
* (Optional) A list of vehicle attributes to associate with a campaign.
*
* Enrich the data with specified vehicle attributes. For example, add
* Default: An empty array
* make
and model
to
* the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions
* in Amazon Timestream. You can then query the data against make
and model
.
*
* Enrich the data with specified vehicle attributes. For example, add make
and
* model
to the campaign, and Amazon Web Services IoT FleetWise will associate the data with
* those attributes as dimensions in Amazon Timestream. You can then query the data against make
* and model
.
*
* Default: An empty array
*/
public void setDataExtraDimensions(java.util.Collection
* (Optional) A list of vehicle attributes to associate with a campaign.
*
* Enrich the data with specified vehicle attributes. For example, add
* Default: An empty array
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDataExtraDimensions(java.util.Collection)} or {@link #withDataExtraDimensions(java.util.Collection)}
* if you want to override the existing values.
* make
and model
to
* the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions
* in Amazon Timestream. You can then query the data against make
and model
.
*
* Enrich the data with specified vehicle attributes. For example, add make
and
* model
to the campaign, and Amazon Web Services IoT FleetWise will associate the data with
* those attributes as dimensions in Amazon Timestream. You can then query the data against make
* and model
.
*
* Default: An empty array
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withDataExtraDimensions(String... dataExtraDimensions) {
if (this.dataExtraDimensions == null) {
setDataExtraDimensions(new java.util.ArrayList
* (Optional) A list of vehicle attributes to associate with a campaign.
*
* Enrich the data with specified vehicle attributes. For example, add
* Default: An empty array
* make
and model
to
* the campaign, and Amazon Web Services IoT FleetWise will associate the data with those attributes as dimensions
* in Amazon Timestream. You can then query the data against make
and model
.
*
* Enrich the data with specified vehicle attributes. For example, add make
and
* model
to the campaign, and Amazon Web Services IoT FleetWise will associate the data with
* those attributes as dimensions in Amazon Timestream. You can then query the data against make
* and model
.
*
* Default: An empty array
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withDataExtraDimensions(java.util.Collection
* Metadata that can be used to manage the campaign.
*
* Metadata that can be used to manage the campaign.
*
* Metadata that can be used to manage the campaign.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
* existing values.
*
* Metadata that can be used to manage the campaign.
*
* The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon
* Timestream.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data
* lakes, centralized data storage, data processing pipelines, and analytics.
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so
* that you can identify trends and patterns.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such * as data lakes, centralized data storage, data processing pipelines, and analytics. *
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle
* data so that you can identify trends and patterns.
*/
public java.util.List
* The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon
* Timestream.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data
* lakes, centralized data storage, data processing pipelines, and analytics.
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so
* that you can identify trends and patterns.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such * as data lakes, centralized data storage, data processing pipelines, and analytics. *
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data
* so that you can identify trends and patterns.
*/
public void setDataDestinationConfigs(java.util.Collection
* The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon
* Timestream.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data
* lakes, centralized data storage, data processing pipelines, and analytics.
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so
* that you can identify trends and patterns.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDataDestinationConfigs(java.util.Collection)} or
* {@link #withDataDestinationConfigs(java.util.Collection)} if you want to override the existing values.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such * as data lakes, centralized data storage, data processing pipelines, and analytics. *
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data
* so that you can identify trends and patterns.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withDataDestinationConfigs(DataDestinationConfig... dataDestinationConfigs) {
if (this.dataDestinationConfigs == null) {
setDataDestinationConfigs(new java.util.ArrayList
* The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon
* Timestream.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data
* lakes, centralized data storage, data processing pipelines, and analytics.
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so
* that you can identify trends and patterns.
*
* Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such * as data lakes, centralized data storage, data processing pipelines, and analytics. *
*
* You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data
* so that you can identify trends and patterns.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateCampaignRequest withDataDestinationConfigs(java.util.Collection