public class Endpoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Endpoint for mobile app and device.
Modifier and Type | Field and Description |
---|---|
private SdkInternalMap<java.lang.String,java.lang.String> |
attributes
Attributes for endpoint.
|
private java.lang.String |
endpointArn
EndpointArn for mobile app and device.
|
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
addAttributesEntry(java.lang.String key,
java.lang.String value) |
Endpoint |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Endpoint |
clone() |
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.
|
private java.lang.String endpointArn
EndpointArn for mobile app and device.
private SdkInternalMap<java.lang.String,java.lang.String> attributes
Attributes for endpoint.
public void setEndpointArn(java.lang.String endpointArn)
EndpointArn for mobile app and device.
endpointArn
- EndpointArn for mobile app and device.public java.lang.String getEndpointArn()
EndpointArn for mobile app and device.
public Endpoint withEndpointArn(java.lang.String endpointArn)
EndpointArn for mobile app and device.
endpointArn
- EndpointArn for mobile app and device.public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Attributes for endpoint.
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Attributes for endpoint.
attributes
- Attributes for endpoint.public Endpoint withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Attributes for endpoint.
attributes
- Attributes for endpoint.public Endpoint addAttributesEntry(java.lang.String key, java.lang.String value)
public Endpoint clearAttributesEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Endpoint clone()
clone
in class java.lang.Object