public static final class RecipientDeliveryReport.Builder extends Object
Modifier and Type | Method and Description |
---|---|
RecipientDeliveryReport.Builder |
at(OffsetDateTime at)
Initializes the value for the
at attribute. |
RecipientDeliveryReport.Builder |
batchId(BatchId batchId)
Initializes the value for the
batchId attribute. |
RecipientDeliveryReport |
build()
Builds a new
RecipientDeliveryReport . |
RecipientDeliveryReport.Builder |
code(int code)
Initializes the value for the
code attribute. |
RecipientDeliveryReport.Builder |
operator(String operator)
Initializes the value for the
operator attribute. |
RecipientDeliveryReport.Builder |
operatorStatusAt(OffsetDateTime operatorStatusAt)
Initializes the value for the
operatorStatusAt attribute. |
RecipientDeliveryReport.Builder |
recipient(String recipient)
Initializes the value for the
recipient attribute. |
RecipientDeliveryReport.Builder |
status(DeliveryStatus status)
Initializes the value for the
status attribute. |
RecipientDeliveryReport.Builder |
statusMessage(String statusMessage)
Initializes the value for the
statusMessage attribute. |
RecipientDeliveryReport.Builder |
using(RecipientDeliveryReport instance)
Fill a builder with attribute values from the provided
RecipientDeliveryReport instance. |
public final RecipientDeliveryReport.Builder using(RecipientDeliveryReport instance)
RecipientDeliveryReport
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 RecipientDeliveryReport.Builder batchId(BatchId batchId)
batchId
attribute.batchId
- The value for batchIdthis
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder recipient(String recipient)
recipient
attribute.recipient
- The value for recipientthis
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder code(int code)
code
attribute.code
- The value for codethis
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder status(DeliveryStatus status)
status
attribute.status
- The value for statusthis
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder statusMessage(@Nullable String statusMessage)
statusMessage
attribute.statusMessage
- The value for statusMessage (can be null
)this
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder operator(@Nullable String operator)
operator
attribute.operator
- The value for operator (can be null
)this
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder at(OffsetDateTime at)
at
attribute.at
- The value for atthis
builder for use in a chained invocationpublic final RecipientDeliveryReport.Builder operatorStatusAt(@Nullable OffsetDateTime operatorStatusAt)
operatorStatusAt
attribute.operatorStatusAt
- The value for operatorStatusAt (can be null
)this
builder for use in a chained invocationpublic RecipientDeliveryReport build()
RecipientDeliveryReport
.IllegalStateException
- if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.