public static interface GetCampaignResponse.Builder extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<GetCampaignResponse.Builder,GetCampaignResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCampaignResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the campaign.
|
GetCampaignResponse.Builder |
collectionScheme(CollectionScheme collectionScheme)
Information about the data collection scheme associated with the campaign.
|
default GetCampaignResponse.Builder |
collectionScheme(Consumer<CollectionScheme.Builder> collectionScheme)
Information about the data collection scheme associated with the campaign.
|
GetCampaignResponse.Builder |
compression(Compression compression)
Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise.
|
GetCampaignResponse.Builder |
compression(String compression)
Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise.
|
GetCampaignResponse.Builder |
creationTime(Instant creationTime)
The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
|
GetCampaignResponse.Builder |
dataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes associated with the campaign.
|
GetCampaignResponse.Builder |
dataExtraDimensions(String... dataExtraDimensions)
A list of vehicle attributes associated with the campaign.
|
GetCampaignResponse.Builder |
description(String description)
The description of the campaign.
|
GetCampaignResponse.Builder |
diagnosticsMode(DiagnosticsMode diagnosticsMode)
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
|
GetCampaignResponse.Builder |
diagnosticsMode(String diagnosticsMode)
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
|
GetCampaignResponse.Builder |
expiryTime(Instant expiryTime)
The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time).
|
GetCampaignResponse.Builder |
lastModificationTime(Instant lastModificationTime)
The last time the campaign was modified.
|
GetCampaignResponse.Builder |
name(String name)
The name of the campaign.
|
GetCampaignResponse.Builder |
postTriggerCollectionDuration(Long postTriggerCollectionDuration)
How long (in seconds) to collect raw data after a triggering event initiates the collection.
|
GetCampaignResponse.Builder |
priority(Integer priority)
A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
|
GetCampaignResponse.Builder |
signalCatalogArn(String signalCatalogArn)
The ARN of a signal catalog.
|
GetCampaignResponse.Builder |
signalsToCollect(Collection<SignalInformation> signalsToCollect)
Information about a list of signals to collect data on.
|
GetCampaignResponse.Builder |
signalsToCollect(Consumer<SignalInformation.Builder>... signalsToCollect)
Information about a list of signals to collect data on.
|
GetCampaignResponse.Builder |
signalsToCollect(SignalInformation... signalsToCollect)
Information about a list of signals to collect data on.
|
GetCampaignResponse.Builder |
spoolingMode(SpoolingMode spoolingMode)
Whether to store collected data after a vehicle lost a connection with the cloud.
|
GetCampaignResponse.Builder |
spoolingMode(String spoolingMode)
Whether to store collected data after a vehicle lost a connection with the cloud.
|
GetCampaignResponse.Builder |
startTime(Instant startTime)
The time, in milliseconds, to deliver a campaign after it was approved.
|
GetCampaignResponse.Builder |
status(CampaignStatus status)
The state of the campaign.
|
GetCampaignResponse.Builder |
status(String status)
The state of the campaign.
|
GetCampaignResponse.Builder |
targetArn(String targetArn)
The ARN of the vehicle or the fleet targeted by the campaign.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCampaignResponse.Builder name(String name)
The name of the campaign.
name - The name of the campaign.GetCampaignResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the campaign.
arn - The Amazon Resource Name (ARN) of the campaign.GetCampaignResponse.Builder description(String description)
The description of the campaign.
description - The description of the campaign.GetCampaignResponse.Builder signalCatalogArn(String signalCatalogArn)
The ARN of a signal catalog.
signalCatalogArn - The ARN of a signal catalog.GetCampaignResponse.Builder targetArn(String targetArn)
The ARN of the vehicle or the fleet targeted by the campaign.
targetArn - The ARN of the vehicle or the fleet targeted by the campaign.GetCampaignResponse.Builder status(String status)
The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.
status - The state of the campaign. The status can be one of: CREATING,
WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.CampaignStatus,
CampaignStatusGetCampaignResponse.Builder status(CampaignStatus status)
The state of the campaign. The status can be one of: CREATING, WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.
status - The state of the campaign. The status can be one of: CREATING,
WAITING_FOR_APPROVAL, RUNNING, and SUSPENDED.CampaignStatus,
CampaignStatusGetCampaignResponse.Builder startTime(Instant startTime)
The time, in milliseconds, to deliver a campaign after it was approved.
startTime - The time, in milliseconds, to deliver a campaign after it was approved.GetCampaignResponse.Builder expiryTime(Instant expiryTime)
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.
expiryTime - 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.GetCampaignResponse.Builder postTriggerCollectionDuration(Long postTriggerCollectionDuration)
How long (in seconds) to collect raw data after a triggering event initiates the collection.
postTriggerCollectionDuration - How long (in seconds) to collect raw data after a triggering event initiates the collection.GetCampaignResponse.Builder diagnosticsMode(String diagnosticsMode)
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
diagnosticsMode - Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.DiagnosticsMode,
DiagnosticsModeGetCampaignResponse.Builder diagnosticsMode(DiagnosticsMode diagnosticsMode)
Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.
diagnosticsMode - Option for a vehicle to send diagnostic trouble codes to Amazon Web Services IoT FleetWise.DiagnosticsMode,
DiagnosticsModeGetCampaignResponse.Builder spoolingMode(String spoolingMode)
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.
spoolingMode - 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.SpoolingMode,
SpoolingModeGetCampaignResponse.Builder spoolingMode(SpoolingMode spoolingMode)
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.
spoolingMode - 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.SpoolingMode,
SpoolingModeGetCampaignResponse.Builder compression(String compression)
Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If
OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is
used.
compression - Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If
OFF is specified, the signals aren't compressed. If it's not specified,
SNAPPY is used.Compression,
CompressionGetCampaignResponse.Builder compression(Compression compression)
Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If
OFF is specified, the signals aren't compressed. If it's not specified, SNAPPY is
used.
compression - Whether to compress signals before transmitting data to Amazon Web Services IoT FleetWise. If
OFF is specified, the signals aren't compressed. If it's not specified,
SNAPPY is used.Compression,
CompressionGetCampaignResponse.Builder priority(Integer priority)
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.
priority - 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.GetCampaignResponse.Builder signalsToCollect(Collection<SignalInformation> signalsToCollect)
Information about a list of signals to collect data on.
signalsToCollect - Information about a list of signals to collect data on.GetCampaignResponse.Builder signalsToCollect(SignalInformation... signalsToCollect)
Information about a list of signals to collect data on.
signalsToCollect - Information about a list of signals to collect data on.GetCampaignResponse.Builder signalsToCollect(Consumer<SignalInformation.Builder>... signalsToCollect)
Information about a list of signals to collect data on.
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) GetCampaignResponse.Builder collectionScheme(CollectionScheme collectionScheme)
Information about the data collection scheme associated with the campaign.
collectionScheme - Information about the data collection scheme associated with the campaign.default GetCampaignResponse.Builder collectionScheme(Consumer<CollectionScheme.Builder> collectionScheme)
Information about the data collection scheme associated with the campaign.
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)GetCampaignResponse.Builder dataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes associated with the campaign.
dataExtraDimensions - A list of vehicle attributes associated with the campaign.GetCampaignResponse.Builder dataExtraDimensions(String... dataExtraDimensions)
A list of vehicle attributes associated with the campaign.
dataExtraDimensions - A list of vehicle attributes associated with the campaign.GetCampaignResponse.Builder creationTime(Instant creationTime)
The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).
creationTime - The time the campaign was created in seconds since epoch (January 1, 1970 at midnight UTC time).GetCampaignResponse.Builder lastModificationTime(Instant lastModificationTime)
The last time the campaign was modified.
lastModificationTime - The last time the campaign was modified.Copyright © 2022. All rights reserved.