public static final class MtBatchDryRunResult.PerRecipient.Builder extends Object
Modifier and Type | Method and Description |
---|---|
MtBatchDryRunResult.PerRecipient.Builder |
body(String body)
Initializes the value for the
body attribute. |
MtBatchDryRunResult.PerRecipient |
build()
Builds a new
PerRecipient . |
MtBatchDryRunResult.PerRecipient.Builder |
encoding(String encoding)
Initializes the value for the
encoding attribute. |
MtBatchDryRunResult.PerRecipient.Builder |
numberOfParts(int numberOfParts)
Initializes the value for the
numberOfParts attribute. |
MtBatchDryRunResult.PerRecipient.Builder |
recipient(String recipient)
Initializes the value for the
recipient attribute. |
MtBatchDryRunResult.PerRecipient.Builder |
using(MtBatchDryRunResult.PerRecipient instance)
Fill a builder with attribute values from the provided
PerRecipient instance. |
public final MtBatchDryRunResult.PerRecipient.Builder using(MtBatchDryRunResult.PerRecipient instance)
PerRecipient
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final MtBatchDryRunResult.PerRecipient.Builder recipient(String recipient)
recipient
attribute.recipient
- The value for recipientthis
builder for use in a chained invocationpublic final MtBatchDryRunResult.PerRecipient.Builder numberOfParts(int numberOfParts)
numberOfParts
attribute.numberOfParts
- The value for numberOfPartsthis
builder for use in a chained invocationpublic final MtBatchDryRunResult.PerRecipient.Builder body(String body)
body
attribute.body
- The value for bodythis
builder for use in a chained invocationpublic final MtBatchDryRunResult.PerRecipient.Builder encoding(String encoding)
encoding
attribute.encoding
- The value for encodingthis
builder for use in a chained invocationpublic MtBatchDryRunResult.PerRecipient build()
PerRecipient
.IllegalStateException
- if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.