@Generated(value="software.amazon.awssdk:codegen") public final class WriteCampaignRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WriteCampaignRequest.Builder,WriteCampaignRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
WriteCampaignRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<WriteTreatmentResource> |
additionalTreatments()
Treatments that are defined in addition to the default treatment.
|
static WriteCampaignRequest.Builder |
builder() |
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.
|
CampaignHook |
hook()
Campaign hook information.
|
Boolean |
isPaused()
Indicates whether the campaign is paused.
|
CampaignLimits |
limits()
The campaign limits settings.
|
MessageConfiguration |
messageConfiguration()
The message configuration settings.
|
String |
name()
The custom name of the campaign.
|
Schedule |
schedule()
The campaign schedule.
|
List<SdkField<?>> |
sdkFields() |
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 WriteCampaignRequest.Builder> |
serializableBuilderClass() |
WriteCampaignRequest.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.
|
copy
public List<WriteTreatmentResource> additionalTreatments()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String description()
public Integer holdoutPercent()
public CampaignHook hook()
public Boolean isPaused()
public CampaignLimits limits()
public MessageConfiguration messageConfiguration()
public String name()
public Schedule schedule()
public String segmentId()
public Integer segmentVersion()
public String treatmentDescription()
public String treatmentName()
public WriteCampaignRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WriteCampaignRequest.Builder,WriteCampaignRequest>
public static WriteCampaignRequest.Builder builder()
public static Class<? extends WriteCampaignRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.