public static interface EndpointMessageResult.Builder extends SdkPojo, CopyableBuilder<EndpointMessageResult.Builder,EndpointMessageResult>
Modifier and Type | Method and Description |
---|---|
EndpointMessageResult.Builder |
address(String address)
Address that endpoint message was delivered to.
|
EndpointMessageResult.Builder |
deliveryStatus(DeliveryStatus deliveryStatus)
The delivery status of the message.
|
EndpointMessageResult.Builder |
deliveryStatus(String deliveryStatus)
The delivery status of the message.
|
EndpointMessageResult.Builder |
messageId(String messageId)
Unique message identifier associated with the message that was sent.
|
EndpointMessageResult.Builder |
statusCode(Integer statusCode)
Downstream service status code.
|
EndpointMessageResult.Builder |
statusMessage(String statusMessage)
Status message for message delivery.
|
EndpointMessageResult.Builder |
updatedToken(String updatedToken)
If token was updated as part of delivery.
|
copy
applyMutation, build
EndpointMessageResult.Builder address(String address)
address
- Address that endpoint message was delivered to.EndpointMessageResult.Builder deliveryStatus(String deliveryStatus)
deliveryStatus
- The delivery status of the message. Possible values:
SUCCESS - The message was successfully delivered to the endpoint.
TRANSIENT_FAILURE - A temporary error occurred. Amazon Pinpoint will attempt to deliver the message
again later.
FAILURE_PERMANENT - An error occurred when delivering the message to the endpoint. Amazon Pinpoint
won't attempt to send the message again.
TIMEOUT - The message couldn't be sent within the timeout period.
QUIET_TIME - The local time for the endpoint was within the QuietTime for the campaign or app.
DAILY_CAP - The endpoint has received the maximum number of messages it can receive within a 24-hour
period.
HOLDOUT - The endpoint was in a hold out treatment for the campaign.
THROTTLED - Amazon Pinpoint throttled sending to this endpoint.
EXPIRED - The endpoint address is expired.
CAMPAIGN_CAP - The endpoint received the maximum number of messages allowed by the campaign.
SERVICE_FAILURE - A service-level failure prevented Amazon Pinpoint from delivering the message.
UNKNOWN - An unknown error occurred.DeliveryStatus
,
DeliveryStatus
EndpointMessageResult.Builder deliveryStatus(DeliveryStatus deliveryStatus)
deliveryStatus
- The delivery status of the message. Possible values:
SUCCESS - The message was successfully delivered to the endpoint.
TRANSIENT_FAILURE - A temporary error occurred. Amazon Pinpoint will attempt to deliver the message
again later.
FAILURE_PERMANENT - An error occurred when delivering the message to the endpoint. Amazon Pinpoint
won't attempt to send the message again.
TIMEOUT - The message couldn't be sent within the timeout period.
QUIET_TIME - The local time for the endpoint was within the QuietTime for the campaign or app.
DAILY_CAP - The endpoint has received the maximum number of messages it can receive within a 24-hour
period.
HOLDOUT - The endpoint was in a hold out treatment for the campaign.
THROTTLED - Amazon Pinpoint throttled sending to this endpoint.
EXPIRED - The endpoint address is expired.
CAMPAIGN_CAP - The endpoint received the maximum number of messages allowed by the campaign.
SERVICE_FAILURE - A service-level failure prevented Amazon Pinpoint from delivering the message.
UNKNOWN - An unknown error occurred.DeliveryStatus
,
DeliveryStatus
EndpointMessageResult.Builder messageId(String messageId)
messageId
- Unique message identifier associated with the message that was sent.EndpointMessageResult.Builder statusCode(Integer statusCode)
statusCode
- Downstream service status code.EndpointMessageResult.Builder statusMessage(String statusMessage)
statusMessage
- Status message for message delivery.EndpointMessageResult.Builder updatedToken(String updatedToken)
updatedToken
- If token was updated as part of delivery. (This is GCM Specific)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.