@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteTreatmentResource extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
WriteTreatmentResource() |
Modifier and Type | Method and Description |
---|---|
WriteTreatmentResource |
clone() |
boolean |
equals(Object obj) |
MessageConfiguration |
getMessageConfiguration()
The message configuration settings.
|
Schedule |
getSchedule()
The campaign schedule.
|
Integer |
getSizePercent()
The allocated percentage of users for this treatment.
|
String |
getTreatmentDescription()
A custom description for the treatment.
|
String |
getTreatmentName()
The custom name of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
void |
setSchedule(Schedule schedule)
The campaign schedule.
|
void |
setSizePercent(Integer sizePercent)
The allocated percentage of users for this treatment.
|
void |
setTreatmentDescription(String treatmentDescription)
A custom description for the treatment.
|
void |
setTreatmentName(String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WriteTreatmentResource |
withMessageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
WriteTreatmentResource |
withSchedule(Schedule schedule)
The campaign schedule.
|
WriteTreatmentResource |
withSizePercent(Integer sizePercent)
The allocated percentage of users for this treatment.
|
WriteTreatmentResource |
withTreatmentDescription(String treatmentDescription)
A custom description for the treatment.
|
WriteTreatmentResource |
withTreatmentName(String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
public void setMessageConfiguration(MessageConfiguration messageConfiguration)
messageConfiguration
- The message configuration settings.public MessageConfiguration getMessageConfiguration()
public WriteTreatmentResource withMessageConfiguration(MessageConfiguration messageConfiguration)
messageConfiguration
- The message configuration settings.public void setSchedule(Schedule schedule)
schedule
- The campaign schedule.public Schedule getSchedule()
public WriteTreatmentResource withSchedule(Schedule schedule)
schedule
- The campaign schedule.public void setSizePercent(Integer sizePercent)
sizePercent
- The allocated percentage of users for this treatment.public Integer getSizePercent()
public WriteTreatmentResource withSizePercent(Integer sizePercent)
sizePercent
- The allocated percentage of users for this treatment.public void setTreatmentDescription(String treatmentDescription)
treatmentDescription
- A custom description for the treatment.public String getTreatmentDescription()
public WriteTreatmentResource withTreatmentDescription(String treatmentDescription)
treatmentDescription
- A custom description for the treatment.public void setTreatmentName(String treatmentName)
treatmentName
- The custom name of a variation of the campaign used for A/B testing.public String getTreatmentName()
public WriteTreatmentResource withTreatmentName(String treatmentName)
treatmentName
- The custom name of a variation of the campaign used for A/B testing.public String toString()
toString
in class Object
Object.toString()
public WriteTreatmentResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.