@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointMessageResult extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EndpointMessageResult() |
Modifier and Type | Method and Description |
---|---|
EndpointMessageResult |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
Address that endpoint message was delivered to.
|
String |
getDeliveryStatus()
Delivery status of message.
|
Integer |
getStatusCode()
Downstream service status code.
|
String |
getStatusMessage()
Status message for message delivery.
|
String |
getUpdatedToken()
If token was updated as part of delivery.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddress(String address)
Address that endpoint message was delivered to.
|
void |
setDeliveryStatus(String deliveryStatus)
Delivery status of message.
|
void |
setStatusCode(Integer statusCode)
Downstream service status code.
|
void |
setStatusMessage(String statusMessage)
Status message for message delivery.
|
void |
setUpdatedToken(String updatedToken)
If token was updated as part of delivery.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EndpointMessageResult |
withAddress(String address)
Address that endpoint message was delivered to.
|
EndpointMessageResult |
withDeliveryStatus(DeliveryStatus deliveryStatus)
Delivery status of message.
|
EndpointMessageResult |
withDeliveryStatus(String deliveryStatus)
Delivery status of message.
|
EndpointMessageResult |
withStatusCode(Integer statusCode)
Downstream service status code.
|
EndpointMessageResult |
withStatusMessage(String statusMessage)
Status message for message delivery.
|
EndpointMessageResult |
withUpdatedToken(String updatedToken)
If token was updated as part of delivery.
|
public void setAddress(String address)
address
- Address that endpoint message was delivered to.public String getAddress()
public EndpointMessageResult withAddress(String address)
address
- Address that endpoint message was delivered to.public void setDeliveryStatus(String deliveryStatus)
deliveryStatus
- Delivery status of message.DeliveryStatus
public String getDeliveryStatus()
DeliveryStatus
public EndpointMessageResult withDeliveryStatus(String deliveryStatus)
deliveryStatus
- Delivery status of message.DeliveryStatus
public EndpointMessageResult withDeliveryStatus(DeliveryStatus deliveryStatus)
deliveryStatus
- Delivery status of message.DeliveryStatus
public void setStatusCode(Integer statusCode)
statusCode
- Downstream service status code.public Integer getStatusCode()
public EndpointMessageResult withStatusCode(Integer statusCode)
statusCode
- Downstream service status code.public void setStatusMessage(String statusMessage)
statusMessage
- Status message for message delivery.public String getStatusMessage()
public EndpointMessageResult withStatusMessage(String statusMessage)
statusMessage
- Status message for message delivery.public void setUpdatedToken(String updatedToken)
updatedToken
- If token was updated as part of delivery. (This is GCM Specific)public String getUpdatedToken()
public EndpointMessageResult withUpdatedToken(String updatedToken)
updatedToken
- If token was updated as part of delivery. (This is GCM Specific)public String toString()
toString
in class Object
Object.toString()
public EndpointMessageResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.