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