@Generated(value="software.amazon.awssdk:codegen") public final class CampaignSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignSummary.Builder,CampaignSummary>
Information about a campaign.
You can use the API operation to return this information about multiple created campaigns.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of a campaign.
|
static CampaignSummary.Builder |
builder() |
Instant |
creationTime()
The time the campaign was created.
|
String |
description()
The description of the campaign.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModificationTime()
The last time the campaign was modified.
|
String |
name()
The name of a campaign.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignSummary.Builder> |
serializableBuilderClass() |
String |
signalCatalogArn()
The ARN of the signal catalog associated with the campaign.
|
CampaignStatus |
status()
The state of a campaign.
|
String |
statusAsString()
The state of a campaign.
|
String |
targetArn()
The ARN of a vehicle or fleet to which the campaign is deployed.
|
CampaignSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of a campaign.
public final String name()
The name of a campaign.
public final String description()
The description of the campaign.
public final String signalCatalogArn()
The ARN of the signal catalog associated with the campaign.
public final String targetArn()
The ARN of a vehicle or fleet to which the campaign is deployed.
public final CampaignStatus status()
The state of a campaign. The status can be one of the following:
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the
API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
If the service returns an enum value that is not available in the current SDK version, status will
return CampaignStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the
campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the
WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the
campaign to the target vehicle or fleet, use the API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
CampaignStatuspublic final String statusAsString()
The state of a campaign. The status can be one of the following:
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the
API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
If the service returns an enum value that is not available in the current SDK version, status will
return CampaignStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the
campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the
WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the
campaign to the target vehicle or fleet, use the API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
CampaignStatuspublic final Instant creationTime()
The time the campaign was created.
public final Instant lastModificationTime()
The last time the campaign was modified.
public CampaignSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignSummary.Builder,CampaignSummary>public static CampaignSummary.Builder builder()
public static Class<? extends CampaignSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.