Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sns.model
Class Endpoint

java.lang.Object
  extended by com.amazonaws.services.sns.model.Endpoint
All Implemented Interfaces:
Serializable

public class Endpoint
extends Object
implements Serializable

Endpoint for mobile app and device.

See Also:
Serialized Form

Constructor Summary
Endpoint()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,String> getAttributes()
          Attributes for endpoint.
 String getEndpointArn()
          EndpointArn for mobile app and device.
 int hashCode()
           
 void setAttributes(Map<String,String> attributes)
          Attributes for endpoint.
 void setEndpointArn(String endpointArn)
          EndpointArn for mobile app and device.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Endpoint withAttributes(Map<String,String> attributes)
          Attributes for endpoint.
 Endpoint withEndpointArn(String endpointArn)
          EndpointArn for mobile app and device.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Endpoint

public Endpoint()
Method Detail

getEndpointArn

public String getEndpointArn()
EndpointArn for mobile app and device.

Returns:
EndpointArn for mobile app and device.

setEndpointArn

public void setEndpointArn(String endpointArn)
EndpointArn for mobile app and device.

Parameters:
endpointArn - EndpointArn for mobile app and device.

withEndpointArn

public Endpoint withEndpointArn(String endpointArn)
EndpointArn for mobile app and device.

Returns a reference to this object so that method calls can be chained together.

Parameters:
endpointArn - EndpointArn for mobile app and device.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributes

public Map<String,String> getAttributes()
Attributes for endpoint.

Returns:
Attributes for endpoint.

setAttributes

public void setAttributes(Map<String,String> attributes)
Attributes for endpoint.

Parameters:
attributes - Attributes for endpoint.

withAttributes

public Endpoint withAttributes(Map<String,String> attributes)
Attributes for endpoint.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributes - Attributes for endpoint.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.