@Generated(value="software.amazon.awssdk:codegen") public final class WriteCampaignRequest extends Object implements StructuredPojo, 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.
|
Boolean |
isPaused()
Indicates whether the campaign is paused.
|
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 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 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()
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.