@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRotationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRotationsResult() |
Modifier and Type | Method and Description |
---|---|
ListRotationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of items to return.
|
List<Rotation> |
getRotations()
Information about rotations that meet the filter criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setRotations(Collection<Rotation> rotations)
Information about rotations that meet the filter criteria.
|
String |
toString()
Returns a string representation of this object.
|
ListRotationsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
ListRotationsResult |
withRotations(Collection<Rotation> rotations)
Information about rotations that meet the filter criteria.
|
ListRotationsResult |
withRotations(Rotation... rotations)
Information about rotations that meet the filter criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public ListRotationsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public List<Rotation> getRotations()
Information about rotations that meet the filter criteria.
public void setRotations(Collection<Rotation> rotations)
Information about rotations that meet the filter criteria.
rotations
- Information about rotations that meet the filter criteria.public ListRotationsResult withRotations(Rotation... rotations)
Information about rotations that meet the filter criteria.
NOTE: This method appends the values to the existing list (if any). Use
setRotations(java.util.Collection)
or withRotations(java.util.Collection)
if you want to
override the existing values.
rotations
- Information about rotations that meet the filter criteria.public ListRotationsResult withRotations(Collection<Rotation> rotations)
Information about rotations that meet the filter criteria.
rotations
- Information about rotations that meet the filter criteria.public String toString()
toString
in class Object
Object.toString()
public ListRotationsResult clone()