public class Endpoint
extends java.lang.Object
implements java.io.Serializable
Endpoint 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)
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.
|
public java.lang.String getEndpointArn()
EndpointArn for mobile app and device.
EndpointArn for mobile app and device.
public void setEndpointArn(java.lang.String endpointArn)
EndpointArn for mobile app and device.
endpointArn
- EndpointArn for mobile app and device.
public Endpoint withEndpointArn(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getAttributes()
Attributes for endpoint.
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.
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)
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 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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.