public class Endpoint extends Object implements Serializable
Endpoint for mobile app and device.
| Constructor and Description |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
addAttributesEntry(String key,
String value)
Attributes for endpoint.
|
Endpoint |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
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.
|
public String getEndpointArn()
EndpointArn for mobile app and device.
EndpointArn for mobile app and device.
public void setEndpointArn(String endpointArn)
EndpointArn for mobile app and device.
endpointArn - EndpointArn for mobile app and device.
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.
endpointArn - EndpointArn for mobile app and device.
public Map<String,String> getAttributes()
Attributes for endpoint.
Attributes for endpoint.
public void setAttributes(Map<String,String> attributes)
Attributes for endpoint.
attributes - Attributes for endpoint.
public Endpoint withAttributes(Map<String,String> attributes)
Attributes for endpoint.
Returns a reference to this object so that method calls can be chained together.
attributes - Attributes for endpoint.
public Endpoint addAttributesEntry(String key, String value)
Attributes for endpoint.
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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.