@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAutoshiftsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAutoshiftsResult() |
Modifier and Type | Method and Description |
---|---|
ListAutoshiftsResult |
clone() |
boolean |
equals(Object obj) |
List<AutoshiftSummary> |
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<AutoshiftSummary> 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.
|
ListAutoshiftsResult |
withItems(AutoshiftSummary... items)
The items in the response list.
|
ListAutoshiftsResult |
withItems(Collection<AutoshiftSummary> items)
The items in the response list.
|
ListAutoshiftsResult |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AutoshiftSummary> getItems()
The items in the response list.
public void setItems(Collection<AutoshiftSummary> items)
The items in the response list.
items
- The items in the response list.public ListAutoshiftsResult withItems(AutoshiftSummary... 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 ListAutoshiftsResult withItems(Collection<AutoshiftSummary> 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 ListAutoshiftsResult 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 ListAutoshiftsResult clone()