Class ListEndpointsByPlatformApplicationResult

java.lang.Object
com.amazonaws.services.sns.model.ListEndpointsByPlatformApplicationResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListEndpointsByPlatformApplicationResult extends Object implements Serializable, Cloneable

Response for ListEndpointsByPlatformApplication action.

See Also:
  • Constructor Details

    • ListEndpointsByPlatformApplicationResult

      public ListEndpointsByPlatformApplicationResult()
  • Method Details

    • getEndpoints

      public List<Endpoint> getEndpoints()

      Endpoints returned for ListEndpointsByPlatformApplication action.

      Returns:
      Endpoints returned for ListEndpointsByPlatformApplication action.
    • setEndpoints

      public void setEndpoints(Collection<Endpoint> endpoints)

      Endpoints returned for ListEndpointsByPlatformApplication action.

      Parameters:
      endpoints - Endpoints returned for ListEndpointsByPlatformApplication action.
    • withEndpoints

      public ListEndpointsByPlatformApplicationResult withEndpoints(Endpoint... endpoints)

      Endpoints returned for ListEndpointsByPlatformApplication action.

      NOTE: This method appends the values to the existing list (if any). Use setEndpoints(java.util.Collection) or withEndpoints(java.util.Collection) if you want to override the existing values.

      Parameters:
      endpoints - Endpoints returned for ListEndpointsByPlatformApplication action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEndpoints

      Endpoints returned for ListEndpointsByPlatformApplication action.

      Parameters:
      endpoints - Endpoints returned for ListEndpointsByPlatformApplication action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.

      Parameters:
      nextToken - NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
    • getNextToken

      public String getNextToken()

      NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.

      Returns:
      NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
    • withNextToken

      public ListEndpointsByPlatformApplicationResult withNextToken(String nextToken)

      NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.

      Parameters:
      nextToken - NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object