@Generated(value="software.amazon.awssdk:codegen") public final class CampaignResponse extends Object implements StructuredPojo, ToCopyableBuilder<CampaignResponse.Builder,CampaignResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CampaignResponse.Builder |
Modifier and Type | Method and Description |
---|---|
List<TreatmentResource> |
additionalTreatments()
Treatments that are defined in addition to the default treatment.
|
String |
applicationId()
The ID of the application to which the campaign applies.
|
static CampaignResponse.Builder |
builder() |
String |
creationDate()
The date the campaign was created in ISO 8601 format.
|
CampaignState |
defaultState()
The status of the campaign's default treatment.
|
String |
description()
A description of the campaign.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
holdoutPercent()
The allocated percentage of end users who will not receive messages from this campaign.
|
String |
id()
The unique campaign ID.
|
Boolean |
isPaused()
Indicates whether the campaign is paused.
|
String |
lastModifiedDate()
The date the campaign was last updated in ISO 8601 format.
|
CampaignLimits |
limits()
The campaign limits settings.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
MessageConfiguration |
messageConfiguration()
The message configuration settings.
|
String |
name()
The custom name of the campaign.
|
Schedule |
schedule()
The campaign schedule.
|
String |
segmentId()
The ID of the segment to which the campaign sends messages.
|
Integer |
segmentVersion()
The version of the segment to which the campaign sends messages.
|
static Class<? extends CampaignResponse.Builder> |
serializableBuilderClass() |
CampaignState |
state()
The campaign status.
|
CampaignResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
treatmentDescription()
A custom description for the treatment.
|
String |
treatmentName()
The custom name of a variation of the campaign used for A/B testing.
|
Integer |
version()
The campaign version number.
|
copy
public List<TreatmentResource> additionalTreatments()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String applicationId()
public String creationDate()
public CampaignState defaultState()
public String description()
public Integer holdoutPercent()
public String id()
public Boolean isPaused()
public String lastModifiedDate()
public CampaignLimits limits()
public MessageConfiguration messageConfiguration()
public String name()
public Schedule schedule()
public String segmentId()
public Integer segmentVersion()
public CampaignState state()
public String treatmentDescription()
public String treatmentName()
public Integer version()
public CampaignResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CampaignResponse.Builder,CampaignResponse>
public static CampaignResponse.Builder builder()
public static Class<? extends CampaignResponse.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.