public class DeleteEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications.
When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.
Constructor and Description |
---|
DeleteEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEndpointArn()
EndpointArn of endpoint to delete.
|
int |
hashCode() |
void |
setEndpointArn(java.lang.String endpointArn)
EndpointArn of endpoint to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteEndpointRequest |
withEndpointArn(java.lang.String endpointArn)
EndpointArn of endpoint to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getEndpointArn()
EndpointArn of endpoint to delete.
EndpointArn of endpoint to delete.
public void setEndpointArn(java.lang.String endpointArn)
EndpointArn of endpoint to delete.
endpointArn
- EndpointArn of endpoint to delete.
public DeleteEndpointRequest withEndpointArn(java.lang.String endpointArn)
EndpointArn of endpoint to delete.
Returns a reference to this object so that method calls can be chained together.
endpointArn
- EndpointArn of endpoint to delete.
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.