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 Endpoint
addAttributesEntry(String key, String value)
Endpoint
clearAttributesEntries()
Removes all the entries added into Attributes.Endpoint
clone()
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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-