com.amazonaws.services.sns.model
Class ListEndpointsByPlatformApplicationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sns.model.ListEndpointsByPlatformApplicationRequest
All Implemented Interfaces:
java.io.Serializable

public class ListEndpointsByPlatformApplicationRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the ListEndpointsByPlatformApplication operation.

Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for ListEndpointsByPlatformApplication are paginated and return a limited list of endpoints, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListEndpointsByPlatformApplication again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications .

See Also:
AmazonSNS.listEndpointsByPlatformApplication(ListEndpointsByPlatformApplicationRequest), Serialized Form

Constructor Summary
ListEndpointsByPlatformApplicationRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.
 java.lang.String getPlatformApplicationArn()
          PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.
 void setPlatformApplicationArn(java.lang.String platformApplicationArn)
          PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListEndpointsByPlatformApplicationRequest withNextToken(java.lang.String nextToken)
          NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.
 ListEndpointsByPlatformApplicationRequest withPlatformApplicationArn(java.lang.String platformApplicationArn)
          PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListEndpointsByPlatformApplicationRequest

public ListEndpointsByPlatformApplicationRequest()
Method Detail

getPlatformApplicationArn

public java.lang.String getPlatformApplicationArn()
PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Returns:
PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

setPlatformApplicationArn

public void setPlatformApplicationArn(java.lang.String platformApplicationArn)
PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Parameters:
platformApplicationArn - PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

withPlatformApplicationArn

public ListEndpointsByPlatformApplicationRequest withPlatformApplicationArn(java.lang.String platformApplicationArn)
PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Returns a reference to this object so that method calls can be chained together.

Parameters:
platformApplicationArn - PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public java.lang.String getNextToken()
NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

Returns:
NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

setNextToken

public void setNextToken(java.lang.String nextToken)
NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

Parameters:
nextToken - NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

withNextToken

public ListEndpointsByPlatformApplicationRequest withNextToken(java.lang.String nextToken)
NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.