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