@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListZonalShiftsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListZonalShiftsResult() |
Modifier and Type | Method and Description |
---|---|
ListZonalShiftsResult |
clone() |
boolean |
equals(Object obj) |
List<ZonalShiftSummary> |
getItems()
The items in the response list.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<ZonalShiftSummary> items)
The items in the response list.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListZonalShiftsResult |
withItems(Collection<ZonalShiftSummary> items)
The items in the response list.
|
ListZonalShiftsResult |
withItems(ZonalShiftSummary... items)
The items in the response list.
|
ListZonalShiftsResult |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ZonalShiftSummary> getItems()
The items in the response list.
public void setItems(Collection<ZonalShiftSummary> items)
The items in the response list.
items
- The items in the response list.public ListZonalShiftsResult withItems(ZonalShiftSummary... items)
The items in the response list.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The items in the response list.public ListZonalShiftsResult withItems(Collection<ZonalShiftSummary> items)
The items in the response list.
items
- The items in the response list.public void setNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String getNextToken()
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.public ListZonalShiftsResult withNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListZonalShiftsResult clone()