@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrefetchSchedulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPrefetchSchedulesResult() |
Modifier and Type | Method and Description |
---|---|
ListPrefetchSchedulesResult |
clone() |
boolean |
equals(Object obj) |
List<PrefetchSchedule> |
getItems()
Lists the prefetch schedules.
|
String |
getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed.
|
int |
hashCode() |
void |
setItems(Collection<PrefetchSchedule> items)
Lists the prefetch schedules.
|
void |
setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
String |
toString()
Returns a string representation of this object.
|
ListPrefetchSchedulesResult |
withItems(Collection<PrefetchSchedule> items)
Lists the prefetch schedules.
|
ListPrefetchSchedulesResult |
withItems(PrefetchSchedule... items)
Lists the prefetch schedules.
|
ListPrefetchSchedulesResult |
withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PrefetchSchedule> getItems()
Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to fetch,
just that that page was empty.
Items
list doesn't mean there aren't more items to
fetch, just that that page was empty.public void setItems(Collection<PrefetchSchedule> items)
Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to fetch,
just that that page was empty.
items
- Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to
fetch, just that that page was empty.public ListPrefetchSchedulesResult withItems(PrefetchSchedule... items)
Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to fetch,
just that that page was empty.
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
- Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to
fetch, just that that page was empty.public ListPrefetchSchedulesResult withItems(Collection<PrefetchSchedule> items)
Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to fetch,
just that that page was empty.
items
- Lists the prefetch schedules. An empty Items
list doesn't mean there aren't more items to
fetch, just that that page was empty.public void setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
public ListPrefetchSchedulesResult withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListPrefetchSchedulesResult clone()