Interface UpdateCampaignRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCampaignRequest.Builder,UpdateCampaignRequest>,IoTFleetWiseRequest.Builder,SdkBuilder<UpdateCampaignRequest.Builder,UpdateCampaignRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCampaignRequest
public static interface UpdateCampaignRequest.Builder extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<UpdateCampaignRequest.Builder,UpdateCampaignRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateCampaignRequest.Builderaction(String action)Specifies how to update a campaign.UpdateCampaignRequest.Builderaction(UpdateCampaignAction action)Specifies how to update a campaign.UpdateCampaignRequest.BuilderdataExtraDimensions(String... dataExtraDimensions)A list of vehicle attributes to associate with a signal.UpdateCampaignRequest.BuilderdataExtraDimensions(Collection<String> dataExtraDimensions)A list of vehicle attributes to associate with a signal.UpdateCampaignRequest.Builderdescription(String description)The description of the campaign.UpdateCampaignRequest.Buildername(String name)The name of the campaign to update.UpdateCampaignRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCampaignRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
name
UpdateCampaignRequest.Builder name(String 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
UpdateCampaignRequest.Builder description(String 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
UpdateCampaignRequest.Builder dataExtraDimensions(Collection<String> 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
UpdateCampaignRequest.Builder dataExtraDimensions(String... 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
UpdateCampaignRequest.Builder action(String 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:
UpdateCampaignAction,UpdateCampaignAction
-
-
action
UpdateCampaignRequest.Builder action(UpdateCampaignAction 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:
UpdateCampaignAction,UpdateCampaignAction
-
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCampaignRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-