public class WriteTreatmentResource
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
WriteTreatmentResource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MessageConfiguration |
getMessageConfiguration()
The message configuration settings.
|
Schedule |
getSchedule()
The campaign schedule.
|
java.lang.Integer |
getSizePercent()
The allocated percentage of users for this treatment.
|
java.lang.String |
getTreatmentDescription()
A custom description for the treatment.
|
java.lang.String |
getTreatmentName()
The custom name of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
setMessageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
void |
setSchedule(Schedule schedule)
The campaign schedule.
|
void |
setSizePercent(java.lang.Integer sizePercent)
The allocated percentage of users for this treatment.
|
void |
setTreatmentDescription(java.lang.String treatmentDescription)
A custom description for the treatment.
|
void |
setTreatmentName(java.lang.String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
java.lang.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(java.lang.Integer sizePercent)
The allocated percentage of users for this treatment.
|
WriteTreatmentResource |
withTreatmentDescription(java.lang.String treatmentDescription)
A custom description for the treatment.
|
WriteTreatmentResource |
withTreatmentName(java.lang.String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
public MessageConfiguration getMessageConfiguration()
public void setMessageConfiguration(MessageConfiguration messageConfiguration)
messageConfiguration
- The message configuration settings.public WriteTreatmentResource withMessageConfiguration(MessageConfiguration messageConfiguration)
Returns a reference to this object so that method calls can be chained together.
messageConfiguration
- The message configuration settings.public Schedule getSchedule()
public void setSchedule(Schedule schedule)
schedule
- The campaign schedule.public WriteTreatmentResource withSchedule(Schedule schedule)
Returns a reference to this object so that method calls can be chained together.
schedule
- The campaign schedule.public java.lang.Integer getSizePercent()
public void setSizePercent(java.lang.Integer sizePercent)
sizePercent
- The allocated percentage of users for this treatment.public WriteTreatmentResource withSizePercent(java.lang.Integer sizePercent)
Returns a reference to this object so that method calls can be chained together.
sizePercent
- The allocated percentage of users for this treatment.public java.lang.String getTreatmentDescription()
public void setTreatmentDescription(java.lang.String treatmentDescription)
treatmentDescription
- A custom description for the treatment.public WriteTreatmentResource withTreatmentDescription(java.lang.String treatmentDescription)
Returns a reference to this object so that method calls can be chained together.
treatmentDescription
- A custom description for the treatment.public java.lang.String getTreatmentName()
public void setTreatmentName(java.lang.String treatmentName)
treatmentName
- The custom name of a variation of the campaign used
for A/B testing.public WriteTreatmentResource withTreatmentName(java.lang.String treatmentName)
Returns a reference to this object so that method calls can be chained together.
treatmentName
- The custom name of a variation of the campaign used
for A/B testing.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.