public static class MtBatchBinarySmsUpdate.Builder extends Object
public MtBatchBinarySmsUpdate.Builder unsetDeliveryReport()
public MtBatchBinarySmsUpdate.Builder deliveryReport(ReportType deliveryReport)
null reference then this is equivalent to calling
unsetDeliveryReport().deliveryReport - the new delivery report type or null to unsetpublic MtBatchBinarySmsUpdate.Builder unsetSendAt()
public MtBatchBinarySmsUpdate.Builder sendAt(OffsetDateTime time)
null
reference then this is equivalent to calling unsetSendAt().time - the new scheduled send timepublic MtBatchBinarySmsUpdate.Builder unsetExpireAt()
public MtBatchBinarySmsUpdate.Builder expireAt(OffsetDateTime time)
null reference
then this is equivalent to calling unsetExpireAt().time - the new expire timepublic MtBatchBinarySmsUpdate.Builder unsetCallbackUrl()
public MtBatchBinarySmsUpdate.Builder callbackUrl(URI url)
null reference then
this is equivalent to calling unsetCallbackUrl().url - the new callback URLpublic final MtBatchBinarySmsUpdate.Builder using(MtBatchBinarySmsUpdate instance)
com.clxcommunications.xms.api.MtBatchBinarySmsUpdate instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder using(MtBatchSmsUpdate instance)
com.clxcommunications.xms.api.MtBatchSmsUpdate instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder udh(byte... udh)
udh attribute.udh - The elements for udhthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder body(byte... body)
body attribute.body - The elements for bodythis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addRecipientInsertion(String element)
recipientInsertions list.element - A recipientInsertions elementthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addRecipientInsertion(String... elements)
recipientInsertions list.elements - An array of recipientInsertions elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder recipientInsertions(@Nullable Iterable<String> elements)
recipientInsertions list.elements - An iterable of recipientInsertions elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addAllRecipientInsertions(Iterable<String> elements)
recipientInsertions list.elements - An iterable of recipientInsertions elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addRecipientRemoval(String element)
recipientRemovals list.element - A recipientRemovals elementthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addRecipientRemoval(String... elements)
recipientRemovals list.elements - An array of recipientRemovals elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder recipientRemovals(@Nullable Iterable<String> elements)
recipientRemovals list.elements - An iterable of recipientRemovals elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder addAllRecipientRemovals(Iterable<String> elements)
recipientRemovals list.elements - An iterable of recipientRemovals elementsthis builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder sender(@Nullable String sender)
sender attribute.sender - The value for sender (can be null)this builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder deliveryReport(@Nullable UpdateValue<ReportType> deliveryReport)
deliveryReport attribute.deliveryReport - The value for deliveryReport (can be null)this builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder sendAt(@Nullable UpdateValue<OffsetDateTime> sendAt)
sendAt attribute.sendAt - The value for sendAt (can be null)this builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder expireAt(@Nullable UpdateValue<OffsetDateTime> expireAt)
expireAt attribute.expireAt - The value for expireAt (can be null)this builder for use in a chained invocationpublic final MtBatchBinarySmsUpdate.Builder callbackUrl(@Nullable UpdateValue<URI> callbackUrl)
callbackUrl attribute.callbackUrl - The value for callbackUrl (can be null)this builder for use in a chained invocationpublic MtBatchBinarySmsUpdate build()
MtBatchBinarySmsUpdate.IllegalStateException - if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.