@Generated(value="software.amazon.awssdk:codegen") public final class CampaignSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignSummary.Builder,CampaignSummary>
Provides a summary of the properties of a campaign. For a complete listing, call the DescribeCampaign API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CampaignSummary.Builder |
builder() |
String |
campaignArn()
The Amazon Resource Name (ARN) of the campaign.
|
Instant |
creationDateTime()
The date and time (in Unix time) that the campaign was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If a campaign fails, the reason behind the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time (in Unix time) that the campaign was last updated.
|
String |
name()
The name of the campaign.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignSummary.Builder> |
serializableBuilderClass() |
String |
status()
The status of the campaign.
|
CampaignSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the campaign.
public String campaignArn()
The Amazon Resource Name (ARN) of the campaign.
public String status()
The status of the campaign.
A campaign can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
A campaign can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public Instant creationDateTime()
The date and time (in Unix time) that the campaign was created.
public Instant lastUpdatedDateTime()
The date and time (in Unix time) that the campaign was last updated.
public String failureReason()
If a campaign fails, the reason behind the failure.
public CampaignSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignSummary.Builder,CampaignSummary>public static CampaignSummary.Builder builder()
public static Class<? extends CampaignSummary.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.