Interface UpdateCampaignRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCampaignRequest.Builder,
,UpdateCampaignRequest> IoTFleetWiseRequest.Builder
,SdkBuilder<UpdateCampaignRequest.Builder,
,UpdateCampaignRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCampaignRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies how to update a campaign.action
(UpdateCampaignAction action) Specifies how to update a campaign.dataExtraDimensions
(String... dataExtraDimensions) A list of vehicle attributes to associate with a signal.dataExtraDimensions
(Collection<String> dataExtraDimensions) A list of vehicle attributes to associate with a signal.description
(String description) The description of the campaign.The name of the campaign to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the campaign to update.
- Parameters:
name
- The name of the campaign to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the campaign.
- Parameters:
description
- The description of the campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExtraDimensions
A list of vehicle attributes to associate with a signal.
Default: An empty array
- Parameters:
dataExtraDimensions
- A list of vehicle attributes to associate with a signal.Default: An empty array
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataExtraDimensions
A list of vehicle attributes to associate with a signal.
Default: An empty array
- Parameters:
dataExtraDimensions
- A list of vehicle attributes to associate with a signal.Default: An empty array
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Specifies how to update a campaign. The action can be one of the following:
-
APPROVE
- To approve delivering a data collection scheme to vehicles. -
SUSPEND
- To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data. -
RESUME
- To reactivate theSUSPEND
campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data. -
UPDATE
- To update a campaign.
- Parameters:
action
- Specifies how to update a campaign. The action can be one of the following:-
APPROVE
- To approve delivering a data collection scheme to vehicles. -
SUSPEND
- To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data. -
RESUME
- To reactivate theSUSPEND
campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data. -
UPDATE
- To update a campaign.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
action
Specifies how to update a campaign. The action can be one of the following:
-
APPROVE
- To approve delivering a data collection scheme to vehicles. -
SUSPEND
- To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data. -
RESUME
- To reactivate theSUSPEND
campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data. -
UPDATE
- To update a campaign.
- Parameters:
action
- Specifies how to update a campaign. The action can be one of the following:-
APPROVE
- To approve delivering a data collection scheme to vehicles. -
SUSPEND
- To suspend collecting signal data. The campaign is deleted from vehicles and all vehicles in the suspended campaign will stop sending data. -
RESUME
- To reactivate theSUSPEND
campaign. The campaign is redeployed to all vehicles and the vehicles will resume sending data. -
UPDATE
- To update a campaign.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-