|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.sns.model.Endpoint
public class Endpoint
Endpoint for mobile app and device.
Constructor Summary | |
---|---|
Endpoint()
|
Method Summary | |
---|---|
Endpoint |
addAttributesEntry(java.lang.String key,
java.lang.String value)
Attributes for endpoint. |
Endpoint |
clearAttributesEntries()
Removes all the entries added into Attributes. |
boolean |
equals(java.lang.Object obj)
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Attributes for endpoint. |
java.lang.String |
getEndpointArn()
EndpointArn for mobile app and device. |
int |
hashCode()
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Attributes for endpoint. |
void |
setEndpointArn(java.lang.String endpointArn)
EndpointArn for mobile app and device. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Endpoint |
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Attributes for endpoint. |
Endpoint |
withEndpointArn(java.lang.String endpointArn)
EndpointArn for mobile app and device. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Endpoint()
Method Detail |
---|
public java.lang.String getEndpointArn()
public void setEndpointArn(java.lang.String endpointArn)
endpointArn
- EndpointArn for mobile app and device.public Endpoint withEndpointArn(java.lang.String endpointArn)
Returns a reference to this object so that method calls can be chained together.
endpointArn
- EndpointArn for mobile app and device.
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes
- Attributes for endpoint.public Endpoint withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- Attributes for endpoint.
public Endpoint addAttributesEntry(java.lang.String key, java.lang.String value)
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Attributes.value
- The corresponding value of the entry to be added into Attributes.public Endpoint clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |