public static class MtBatchBinarySmsCreate.Builder extends Object
Modifier and Type | Method and Description |
---|---|
MtBatchBinarySmsCreate.Builder |
addAllRecipients(Iterable<String> elements)
Adds elements to
recipients list. |
MtBatchBinarySmsCreate.Builder |
addAllTags(Iterable<String> elements)
Adds elements to
tags set. |
MtBatchBinarySmsCreate.Builder |
addRecipient(String... elements)
Adds elements to
recipients list. |
MtBatchBinarySmsCreate.Builder |
addRecipient(String element)
Adds one element to
recipients list. |
MtBatchBinarySmsCreate.Builder |
addTag(String... elements)
Adds elements to
tags set. |
MtBatchBinarySmsCreate.Builder |
addTag(String element)
Adds one element to
tags set. |
MtBatchBinarySmsCreate.Builder |
body(byte... body)
Initializes the value for the
body attribute. |
MtBatchBinarySmsCreate |
build()
Builds a new
MtBatchBinarySmsCreate . |
MtBatchBinarySmsCreate.Builder |
callbackUrl(URI callbackUrl)
Initializes the value for the
callbackUrl attribute. |
MtBatchBinarySmsCreate.Builder |
deliveryReport(ReportType deliveryReport)
Initializes the value for the
deliveryReport attribute. |
MtBatchBinarySmsCreate.Builder |
expireAt(OffsetDateTime expireAt)
Initializes the value for the
expireAt attribute. |
MtBatchBinarySmsCreate.Builder |
recipients(Iterable<String> elements)
Sets or replaces all elements for
recipients list. |
MtBatchBinarySmsCreate.Builder |
sendAt(OffsetDateTime sendAt)
Initializes the value for the
sendAt attribute. |
MtBatchBinarySmsCreate.Builder |
sender(String sender)
Initializes the value for the
sender attribute. |
MtBatchBinarySmsCreate.Builder |
tags(Iterable<String> elements)
Sets or replaces all elements for
tags set. |
MtBatchBinarySmsCreate.Builder |
udh(byte... udh)
Initializes the value for the
udh attribute. |
MtBatchBinarySmsCreate.Builder |
using(MtBatchBinarySmsCreate instance)
Fill a builder with attribute values from the provided
com.clxcommunications.xms.api.MtBatchBinarySmsCreate instance. |
MtBatchBinarySmsCreate.Builder |
using(MtBatchSmsCreate instance)
Fill a builder with attribute values from the provided
com.clxcommunications.xms.api.MtBatchSmsCreate instance. |
public final MtBatchBinarySmsCreate.Builder using(MtBatchBinarySmsCreate instance)
com.clxcommunications.xms.api.MtBatchBinarySmsCreate
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder using(MtBatchSmsCreate instance)
com.clxcommunications.xms.api.MtBatchSmsCreate
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder udh(byte... udh)
udh
attribute.udh
- The elements for udhthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder body(byte... body)
body
attribute.body
- The elements for bodythis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addRecipient(String element)
recipients
list.element
- A recipients elementthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addRecipient(String... elements)
recipients
list.elements
- An array of recipients elementsthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder recipients(Iterable<String> elements)
recipients
list.elements
- An iterable of recipients elementsthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addAllRecipients(Iterable<String> elements)
recipients
list.elements
- An iterable of recipients elementsthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder sender(String sender)
sender
attribute.sender
- The value for senderthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder deliveryReport(@Nullable ReportType deliveryReport)
deliveryReport
attribute.deliveryReport
- The value for deliveryReport (can be null
)this
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder sendAt(@Nullable OffsetDateTime sendAt)
sendAt
attribute.sendAt
- The value for sendAt (can be null
)this
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder expireAt(@Nullable OffsetDateTime expireAt)
expireAt
attribute.expireAt
- The value for expireAt (can be null
)this
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder callbackUrl(@Nullable URI callbackUrl)
callbackUrl
attribute.callbackUrl
- The value for callbackUrl (can be null
)this
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addTag(String element)
tags
set.element
- A tags elementthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addTag(String... elements)
tags
set.elements
- An array of tags elementsthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder tags(Iterable<String> elements)
tags
set.elements
- An iterable of tags elementsthis
builder for use in a chained invocationpublic final MtBatchBinarySmsCreate.Builder addAllTags(Iterable<String> elements)
tags
set.elements
- An iterable of tags elementsthis
builder for use in a chained invocationpublic MtBatchBinarySmsCreate build()
MtBatchBinarySmsCreate
.IllegalStateException
- if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.