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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 theSUSPENDcampaign. 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 theSUSPENDcampaign. 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 theSUSPENDcampaign. 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 theSUSPENDcampaign. 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-