public static final class MtBatchDryRunResult.Builder extends Object
public final MtBatchDryRunResult.Builder using(MtBatchDryRunResult instance)
MtBatchDryRunResult instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder numberOfRecipients(int numberOfRecipients)
numberOfRecipients attribute.numberOfRecipients - The value for numberOfRecipientsthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder numberOfMessages(int numberOfMessages)
numberOfMessages attribute.numberOfMessages - The value for numberOfMessagesthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder addPerRecipient(MtBatchDryRunResult.PerRecipient element)
perRecipient list.element - A perRecipient elementthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder addPerRecipient(MtBatchDryRunResult.PerRecipient... elements)
perRecipient list.elements - An array of perRecipient elementsthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder perRecipient(Iterable<? extends MtBatchDryRunResult.PerRecipient> elements)
perRecipient list.elements - An iterable of perRecipient elementsthis builder for use in a chained invocationpublic final MtBatchDryRunResult.Builder addAllPerRecipient(Iterable<? extends MtBatchDryRunResult.PerRecipient> elements)
perRecipient list.elements - An iterable of perRecipient elementsthis builder for use in a chained invocationpublic MtBatchDryRunResult build()
MtBatchDryRunResult.IllegalStateException - if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.