public static class BatchDeliveryReportParams.Builder extends Object
public BatchDeliveryReportParams.Builder summaryReport()
BatchDeliveryReportParams.ReportType.SUMMARY
public BatchDeliveryReportParams.Builder fullReport()
BatchDeliveryReportParams.ReportType.FULL
public final BatchDeliveryReportParams.Builder using(BatchDeliveryReportParams instance)
BatchDeliveryReportParams
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 BatchDeliveryReportParams.Builder reportType(@Nullable BatchDeliveryReportParams.ReportType reportType)
reportType
attribute.reportType
- The value for reportType (can be null
)this
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addStatus(DeliveryStatus element)
statuses
set.element
- A statuses elementthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addStatus(DeliveryStatus... elements)
statuses
set.elements
- An array of statuses elementsthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder statuses(Iterable<? extends DeliveryStatus> elements)
statuses
set.elements
- An iterable of statuses elementsthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addAllStatuses(Iterable<? extends DeliveryStatus> elements)
statuses
set.elements
- An iterable of statuses elementsthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addCode(int element)
codes
set.element
- A codes elementthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addCode(int... elements)
codes
set.elements
- An array of codes elementsthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder codes(Iterable<Integer> elements)
codes
set.elements
- An iterable of codes elementsthis
builder for use in a chained invocationpublic final BatchDeliveryReportParams.Builder addAllCodes(Iterable<Integer> elements)
codes
set.elements
- An iterable of codes elementsthis
builder for use in a chained invocationpublic BatchDeliveryReportParams build()
BatchDeliveryReportParams
.IllegalStateException
- if any required attributes are missingCopyright © 2016–2019 CLX Communications. All rights reserved.