Package com.amazonaws.services.sns.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointaddAttributesEntry(String key, String value)EndpointclearAttributesEntries()Removes all the entries added into Attributes.Endpointclone()booleanequals(Object obj)Map<String,String>getAttributes()Attributes for endpoint.StringgetEndpointArn()EndpointArn for mobile app and device.inthashCode()voidsetAttributes(Map<String,String> attributes)Attributes for endpoint.voidsetEndpointArn(String endpointArn)EndpointArn for mobile app and device.StringtoString()Returns a string representation of this object; useful for testing and debugging.EndpointwithAttributes(Map<String,String> attributes)Attributes for endpoint.EndpointwithEndpointArn(String endpointArn)EndpointArn for mobile app and device.
-
-
-
Method Detail
-
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.
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-