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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListEndpointsByPlatformApplicationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListEndpointsByPlatformApplicationResultclone()booleanequals(Object obj)List<Endpoint>getEndpoints()Endpoints returned for ListEndpointsByPlatformApplication action.StringgetNextToken()NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.inthashCode()voidsetEndpoints(Collection<Endpoint> endpoints)Endpoints returned for ListEndpointsByPlatformApplication action.voidsetNextToken(String nextToken)NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListEndpointsByPlatformApplicationResultwithEndpoints(Endpoint... endpoints)Endpoints returned for ListEndpointsByPlatformApplication action.ListEndpointsByPlatformApplicationResultwithEndpoints(Collection<Endpoint> endpoints)Endpoints returned for ListEndpointsByPlatformApplication action.ListEndpointsByPlatformApplicationResultwithNextToken(String nextToken)NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
-
-
-
Method Detail
-
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)orwithEndpoints(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
public ListEndpointsByPlatformApplicationResult withEndpoints(Collection<Endpoint> endpoints)
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListEndpointsByPlatformApplicationResult clone()
-
-