@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPlacementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPlacementsResult() |
Modifier and Type | Method and Description |
---|---|
ListPlacementsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
|
List<PlacementSummary> |
getPlacements()
An object listing the requested placements.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
|
void |
setPlacements(Collection<PlacementSummary> placements)
An object listing the requested placements.
|
String |
toString()
Returns a string representation of this object.
|
ListPlacementsResult |
withNextToken(String nextToken)
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
|
ListPlacementsResult |
withPlacements(Collection<PlacementSummary> placements)
An object listing the requested placements.
|
ListPlacementsResult |
withPlacements(PlacementSummary... placements)
An object listing the requested placements.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PlacementSummary> getPlacements()
An object listing the requested placements.
public void setPlacements(Collection<PlacementSummary> placements)
An object listing the requested placements.
placements
- An object listing the requested placements.public ListPlacementsResult withPlacements(PlacementSummary... placements)
An object listing the requested placements.
NOTE: This method appends the values to the existing list (if any). Use
setPlacements(java.util.Collection)
or withPlacements(java.util.Collection)
if you want to
override the existing values.
placements
- An object listing the requested placements.public ListPlacementsResult withPlacements(Collection<PlacementSummary> placements)
An object listing the requested placements.
placements
- An object listing the requested placements.public void setNextToken(String nextToken)
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
nextToken
- The token used to retrieve the next set of results - will be effectively empty if there are no further
results.public String getNextToken()
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
public ListPlacementsResult withNextToken(String nextToken)
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
nextToken
- The token used to retrieve the next set of results - will be effectively empty if there are no further
results.public String toString()
toString
in class Object
Object.toString()
public ListPlacementsResult clone()