@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointAttributes extends Object implements Serializable, Cloneable, StructuredPojo
The attributes of an Endpoint
.
Constructor and Description |
---|
EndpointAttributes() |
Modifier and Type | Method and Description |
---|---|
EndpointAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceToken()
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
|
String |
getVoipDeviceToken()
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceToken(String deviceToken)
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
|
void |
setVoipDeviceToken(String voipDeviceToken)
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
|
String |
toString()
Returns a string representation of this object.
|
EndpointAttributes |
withDeviceToken(String deviceToken)
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
|
EndpointAttributes |
withVoipDeviceToken(String voipDeviceToken)
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
|
public void setDeviceToken(String deviceToken)
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
deviceToken
- The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.public String getDeviceToken()
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
public EndpointAttributes withDeviceToken(String deviceToken)
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
deviceToken
- The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.public void setVoipDeviceToken(String voipDeviceToken)
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
voipDeviceToken
- The VOIP device token for the APNS and APNS_SANDBOX endpoint types.public String getVoipDeviceToken()
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
public EndpointAttributes withVoipDeviceToken(String voipDeviceToken)
The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
voipDeviceToken
- The VOIP device token for the APNS and APNS_SANDBOX endpoint types.public String toString()
toString
in class Object
Object.toString()
public EndpointAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.