Class CampaignSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CampaignSummary.Builder,CampaignSummary>
Provides a summary of the properties of a campaign. For a complete listing, call the DescribeCampaign API.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CampaignSummary.Builderbuilder()final StringThe Amazon Resource Name (ARN) of the campaign.final InstantThe date and time (in Unix time) that the campaign was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringIf a campaign fails, the reason behind the failure.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time (in Unix time) that the campaign was last updated.final Stringname()The name of the campaign.static Class<? extends CampaignSummary.Builder> final Stringstatus()The status of the campaign.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
campaignArn
The Amazon Resource Name (ARN) of the campaign.
- Returns:
- The Amazon Resource Name (ARN) of the campaign.
-
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
- Returns:
- 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
-
-
-
creationDateTime
The date and time (in Unix time) that the campaign was created.
- Returns:
- The date and time (in Unix time) that the campaign was created.
-
lastUpdatedDateTime
The date and time (in Unix time) that the campaign was last updated.
- Returns:
- The date and time (in Unix time) that the campaign was last updated.
-
failureReason
If a campaign fails, the reason behind the failure.
- Returns:
- If a campaign fails, the reason behind the failure.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CampaignSummary.Builder,CampaignSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-