public static interface CreateCampaignRequest.Builder extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<CreateCampaignRequest.Builder,CreateCampaignRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCampaignRequest.Builder |
collectionScheme(CollectionScheme collectionScheme)
The data collection scheme associated with the campaign.
|
default CreateCampaignRequest.Builder |
collectionScheme(Consumer<CollectionScheme.Builder> collectionScheme)
The data collection scheme associated with the campaign.
|
CreateCampaignRequest.Builder |
compression(Compression compression)
(Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise.
|
CreateCampaignRequest.Builder |
compression(String compression)
(Optional) Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise.
|
CreateCampaignRequest.Builder |
dataExtraDimensions(Collection<String> dataExtraDimensions)
(Optional) A list of vehicle attributes to associate with a campaign.
|
CreateCampaignRequest.Builder |
dataExtraDimensions(String... dataExtraDimensions)
(Optional) A list of vehicle attributes to associate with a campaign.
|
CreateCampaignRequest.Builder |
description(String description)
An optional description of the campaign to help identify its purpose.
|
CreateCampaignRequest.Builder |
diagnosticsMode(DiagnosticsMode diagnosticsMode)
(Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
|
CreateCampaignRequest.Builder |
diagnosticsMode(String diagnosticsMode)
(Optional) Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
|
CreateCampaignRequest.Builder |
expiryTime(Instant expiryTime)
(Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time).
|
CreateCampaignRequest.Builder |
name(String name)
The name of the campaign to create.
|
CreateCampaignRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCampaignRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCampaignRequest.Builder |
postTriggerCollectionDuration(Long postTriggerCollectionDuration)
(Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection.
|
CreateCampaignRequest.Builder |
priority(Integer priority)
(Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or
fleet.
|
CreateCampaignRequest.Builder |
signalCatalogArn(String signalCatalogArn)
(Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign.
|
CreateCampaignRequest.Builder |
signalsToCollect(Collection<SignalInformation> signalsToCollect)
(Optional) A list of information about signals to collect.
|
CreateCampaignRequest.Builder |
signalsToCollect(Consumer<SignalInformation.Builder>... signalsToCollect)
(Optional) A list of information about signals to collect.
|
CreateCampaignRequest.Builder |
signalsToCollect(SignalInformation... signalsToCollect)
(Optional) A list of information about signals to collect.
|
CreateCampaignRequest.Builder |
spoolingMode(SpoolingMode spoolingMode)
(Optional) Whether to store collected data after a vehicle lost a connection with the cloud.
|
CreateCampaignRequest.Builder |
spoolingMode(String spoolingMode)
(Optional) Whether to store collected data after a vehicle lost a connection with the cloud.
|
CreateCampaignRequest.Builder |
startTime(Instant startTime)
(Optional) The time, in milliseconds, to deliver a campaign after it was approved.
|
CreateCampaignRequest.Builder |
tags(Collection<Tag> tags)
Metadata that can be used to manage the campaign.
|
CreateCampaignRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the campaign.
|
CreateCampaignRequest.Builder |
tags(Tag... tags)
Metadata that can be used to manage the campaign.
|
CreateCampaignRequest.Builder |
targetArn(String targetArn)
The ARN of the vehicle or fleet to deploy a campaign to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCampaignRequest.Builder name(String name)
The name of the campaign to create.
name - The name of the campaign to create.CreateCampaignRequest.Builder description(String description)
An optional description of the campaign to help identify its purpose.
description - An optional description of the campaign to help identify its purpose.CreateCampaignRequest.Builder signalCatalogArn(String signalCatalogArn)
(Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign.
signalCatalogArn - (Optional) The Amazon Resource Name (ARN) of the signal catalog to associate with the campaign.CreateCampaignRequest.Builder targetArn(String targetArn)
The ARN of the vehicle or fleet to deploy a campaign to.
targetArn - The ARN of the vehicle or fleet to deploy a campaign to.CreateCampaignRequest.Builder startTime(Instant startTime)
(Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified,
0 is used.
Default: 0
startTime - (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not
specified, 0 is used.
Default: 0
CreateCampaignRequest.Builder expiryTime(Instant expiryTime)
(Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires.
Default: 253402243200 (December 31, 9999, 00:00:00 UTC)
expiryTime - (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC
time). Vehicle data won't be collected after the campaign expires.
Default: 253402243200 (December 31, 9999, 00:00:00 UTC)
CreateCampaignRequest.Builder postTriggerCollectionDuration(Long 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
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
CreateCampaignRequest.Builder diagnosticsMode(String 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
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
DiagnosticsMode,
DiagnosticsModeCreateCampaignRequest.Builder diagnosticsMode(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
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
DiagnosticsMode,
DiagnosticsModeCreateCampaignRequest.Builder spoolingMode(String 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
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
SpoolingMode,
SpoolingModeCreateCampaignRequest.Builder spoolingMode(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
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
SpoolingMode,
SpoolingModeCreateCampaignRequest.Builder compression(String 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
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
Compression,
CompressionCreateCampaignRequest.Builder compression(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
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
Compression,
CompressionCreateCampaignRequest.Builder priority(Integer 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
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
CreateCampaignRequest.Builder signalsToCollect(Collection<SignalInformation> signalsToCollect)
(Optional) A list of information about signals to collect.
signalsToCollect - (Optional) A list of information about signals to collect.CreateCampaignRequest.Builder signalsToCollect(SignalInformation... signalsToCollect)
(Optional) A list of information about signals to collect.
signalsToCollect - (Optional) A list of information about signals to collect.CreateCampaignRequest.Builder signalsToCollect(Consumer<SignalInformation.Builder>... signalsToCollect)
(Optional) A list of information about signals to collect.
This is a convenience method that creates an instance of theSignalInformation.Builder avoiding the need to
create one manually via
SignalInformation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #signalsToCollect(List.
signalsToCollect - a consumer that will call methods on
SignalInformation.Builder#signalsToCollect(java.util.Collection) CreateCampaignRequest.Builder collectionScheme(CollectionScheme collectionScheme)
The data collection scheme associated with the campaign. You can specify a scheme that collects data based on time or an event.
collectionScheme - The data collection scheme associated with the campaign. You can specify a scheme that collects data
based on time or an event.default CreateCampaignRequest.Builder collectionScheme(Consumer<CollectionScheme.Builder> collectionScheme)
The data collection scheme associated with the campaign. You can specify a scheme that collects data based on time or an event.
This is a convenience method that creates an instance of theCollectionScheme.Builder avoiding the
need to create one manually via CollectionScheme.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to collectionScheme(CollectionScheme).
collectionScheme - a consumer that will call methods on CollectionScheme.BuildercollectionScheme(CollectionScheme)CreateCampaignRequest.Builder dataExtraDimensions(Collection<String> dataExtraDimensions)
(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
dataExtraDimensions - (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
CreateCampaignRequest.Builder dataExtraDimensions(String... dataExtraDimensions)
(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
dataExtraDimensions - (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
CreateCampaignRequest.Builder tags(Collection<Tag> tags)
Metadata that can be used to manage the campaign.
tags - Metadata that can be used to manage the campaign.CreateCampaignRequest.Builder tags(Tag... tags)
Metadata that can be used to manage the campaign.
tags - Metadata that can be used to manage the campaign.CreateCampaignRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the campaign.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateCampaignRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCampaignRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.