@Value.Enclosing @Value.Immutable public abstract class BatchDeliveryReport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchDeliveryReport.Builder
A builder of batch delivery reports.
|
static class |
BatchDeliveryReport.Status
A description of the messages having a given delivery state.
|
Constructor and Description |
---|
BatchDeliveryReport() |
Modifier and Type | Method and Description |
---|---|
abstract BatchId |
batchId()
Identifier of the batch to which this delivery report refers.
|
static BatchDeliveryReport.Builder |
builder()
Creates a builder of
BatchDeliveryReport instances. |
abstract List<BatchDeliveryReport.Status> |
statuses()
A list of
statuses for the batch. |
abstract int |
totalMessageCount()
The total number of messages in the batch.
|
@Nonnull public static final BatchDeliveryReport.Builder builder()
BatchDeliveryReport
instances.public abstract BatchId batchId()
public abstract int totalMessageCount()
public abstract List<BatchDeliveryReport.Status> statuses()
statuses
for the batch. Only non-empty statuses
are present here, that is, for each member status there is at least one
message having the state.Copyright © 2016–2019 CLX Communications. All rights reserved.