Class WriteTreatmentResource
java.lang.Object
software.amazon.awssdk.services.pinpoint.model.WriteTreatmentResource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
@Generated("software.amazon.awssdk:codegen")
public final class WriteTreatmentResource
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The delivery configuration settings for sending the treatment through a custom channel.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final MessageConfigurationThe message configuration settings for the treatment.final Scheduleschedule()The schedule settings for the treatment.static Class<? extends WriteTreatmentResource.Builder>final IntegerThe allocated percentage of users (segment members) to send the treatment to.final TemplateConfigurationThe message template to use for the treatment.final StringtoString()Returns a string representation of this object.final StringA custom description of the treatment.final StringA custom name for the treatment.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
customDeliveryConfiguration
The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
- Returns:
- The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
-
messageConfiguration
The message configuration settings for the treatment.
- Returns:
- The message configuration settings for the treatment.
-
schedule
The schedule settings for the treatment.
- Returns:
- The schedule settings for the treatment.
-
sizePercent
The allocated percentage of users (segment members) to send the treatment to.
- Returns:
- The allocated percentage of users (segment members) to send the treatment to.
-
templateConfiguration
The message template to use for the treatment.
- Returns:
- The message template to use for the treatment.
-
treatmentDescription
A custom description of the treatment.
- Returns:
- A custom description of the treatment.
-
treatmentName
A custom name for the treatment.
- Returns:
- A custom name for the treatment.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<WriteTreatmentResource.Builder,WriteTreatmentResource>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-