Class Endpoint

java.lang.Object
com.amazonaws.services.sns.model.Endpoint
All Implemented Interfaces:
Serializable, Cloneable

public class Endpoint extends Object implements Serializable, Cloneable

Endpoint for mobile app and device.

See Also:
  • Constructor Details

    • Endpoint

      public Endpoint()
  • Method Details

    • setEndpointArn

      public void setEndpointArn(String endpointArn)

      EndpointArn for mobile app and device.

      Parameters:
      endpointArn - EndpointArn for mobile app and device.
    • getEndpointArn

      public String getEndpointArn()

      EndpointArn for mobile app and device.

      Returns:
      EndpointArn for mobile app and device.
    • withEndpointArn

      public Endpoint withEndpointArn(String endpointArn)

      EndpointArn for mobile app and device.

      Parameters:
      endpointArn - EndpointArn for mobile app and device.
      Returns:
      Returns a reference to this 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.

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

      public Endpoint addAttributesEntry(String key, String value)
    • clearAttributesEntries

      public Endpoint clearAttributesEntries()
      Removes all the entries added into Attributes. <p> Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Endpoint clone()
      Overrides:
      clone in class Object