@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCampaignRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateCampaignRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateCampaignRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
Specifies how to update a campaign.
|
List<String> |
getDataExtraDimensions()
A list of vehicle attributes to associate with a signal.
|
String |
getDescription()
The description of the campaign.
|
String |
getName()
The name of the campaign to update.
|
int |
hashCode() |
void |
setAction(String action)
Specifies how to update a campaign.
|
void |
setDataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
|
void |
setDescription(String description)
The description of the campaign.
|
void |
setName(String name)
The name of the campaign to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCampaignRequest |
withAction(String action)
Specifies how to update a campaign.
|
UpdateCampaignRequest |
withAction(UpdateCampaignAction action)
Specifies how to update a campaign.
|
UpdateCampaignRequest |
withDataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
|
UpdateCampaignRequest |
withDataExtraDimensions(String... dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
|
UpdateCampaignRequest |
withDescription(String description)
The description of the campaign.
|
UpdateCampaignRequest |
withName(String name)
The name of the campaign to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the campaign to update.
name - The name of the campaign to update.public String getName()
The name of the campaign to update.
public UpdateCampaignRequest withName(String name)
The name of the campaign to update.
name - The name of the campaign to update.public void setDescription(String description)
The description of the campaign.
description - The description of the campaign.public String getDescription()
The description of the campaign.
public UpdateCampaignRequest withDescription(String description)
The description of the campaign.
description - The description of the campaign.public List<String> getDataExtraDimensions()
A list of vehicle attributes to associate with a signal.
Default: An empty array
Default: An empty array
public void setDataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
Default: An empty array
dataExtraDimensions - A list of vehicle attributes to associate with a signal.
Default: An empty array
public UpdateCampaignRequest withDataExtraDimensions(String... dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
Default: An empty array
NOTE: This method appends the values to the existing list (if any). Use
setDataExtraDimensions(java.util.Collection) or withDataExtraDimensions(java.util.Collection)
if you want to override the existing values.
dataExtraDimensions - A list of vehicle attributes to associate with a signal.
Default: An empty array
public UpdateCampaignRequest withDataExtraDimensions(Collection<String> dataExtraDimensions)
A list of vehicle attributes to associate with a signal.
Default: An empty array
dataExtraDimensions - A list of vehicle attributes to associate with a signal.
Default: An empty array
public void setAction(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 the SUSPEND campaign. The campaign is redeployed to all vehicles
and the vehicles will resume sending data.
UPDATE - To update a campaign.
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 the SUSPEND campaign. The campaign is redeployed to all
vehicles and the vehicles will resume sending data.
UPDATE - To update a campaign.
UpdateCampaignActionpublic String getAction()
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 the SUSPEND campaign. The campaign is redeployed to all vehicles
and the vehicles will resume sending data.
UPDATE - To update a campaign.
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 the SUSPEND campaign. The campaign is redeployed to all
vehicles and the vehicles will resume sending data.
UPDATE - To update a campaign.
UpdateCampaignActionpublic UpdateCampaignRequest withAction(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 the SUSPEND campaign. The campaign is redeployed to all vehicles
and the vehicles will resume sending data.
UPDATE - To update a campaign.
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 the SUSPEND campaign. The campaign is redeployed to all
vehicles and the vehicles will resume sending data.
UPDATE - To update a campaign.
UpdateCampaignActionpublic UpdateCampaignRequest withAction(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 the SUSPEND campaign. The campaign is redeployed to all vehicles
and the vehicles will resume sending data.
UPDATE - To update a campaign.
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 the SUSPEND campaign. The campaign is redeployed to all
vehicles and the vehicles will resume sending data.
UPDATE - To update a campaign.
UpdateCampaignActionpublic String toString()
toString in class ObjectObject.toString()public UpdateCampaignRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()