public static interface MessageResult.Builder extends SdkPojo, CopyableBuilder<MessageResult.Builder,MessageResult>
Modifier and Type | Method and Description |
---|---|
MessageResult.Builder |
deliveryStatus(DeliveryStatus deliveryStatus)
The delivery status of the message.
|
MessageResult.Builder |
deliveryStatus(String deliveryStatus)
The delivery status of the message.
|
MessageResult.Builder |
messageId(String messageId)
The unique identifier for the message that was sent.
|
MessageResult.Builder |
statusCode(Integer statusCode)
The downstream service status code for delivering the message.
|
MessageResult.Builder |
statusMessage(String statusMessage)
The status message for delivering the message.
|
MessageResult.Builder |
updatedToken(String updatedToken)
For push notifications that are sent through the GCM channel, specifies whether the endpoint's device
registration token was updated as part of delivering the message.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MessageResult.Builder deliveryStatus(String deliveryStatus)
The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint address.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
deliveryStatus
- The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint address.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
DeliveryStatus
,
DeliveryStatus
MessageResult.Builder deliveryStatus(DeliveryStatus deliveryStatus)
The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint address.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
deliveryStatus
- The delivery status of the message. Possible values are:
DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.
OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.
PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.
SUCCESSFUL - The message was successfully delivered to the endpoint address.
TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.
THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.
TIMEOUT - The message couldn't be sent within the timeout period.
UNKNOWN_FAILURE - An unknown error occurred.
DeliveryStatus
,
DeliveryStatus
MessageResult.Builder messageId(String messageId)
The unique identifier for the message that was sent.
messageId
- The unique identifier for the message that was sent.MessageResult.Builder statusCode(Integer statusCode)
The downstream service status code for delivering the message.
statusCode
- The downstream service status code for delivering the message.MessageResult.Builder statusMessage(String statusMessage)
The status message for delivering the message.
statusMessage
- The status message for delivering the message.MessageResult.Builder updatedToken(String updatedToken)
For push notifications that are sent through the GCM channel, specifies whether the endpoint's device registration token was updated as part of delivering the message.
updatedToken
- For push notifications that are sent through the GCM channel, specifies whether the endpoint's device
registration token was updated as part of delivering the message.Copyright © 2021. All rights reserved.