@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSchedulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSchedulesResult() |
Modifier and Type | Method and Description |
---|---|
ListSchedulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates whether there are additional results to retrieve.
|
List<ScheduleSummary> |
getSchedules()
The schedules that match the specified criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
void |
setSchedules(Collection<ScheduleSummary> schedules)
The schedules that match the specified criteria.
|
String |
toString()
Returns a string representation of this object.
|
ListSchedulesResult |
withNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
ListSchedulesResult |
withSchedules(Collection<ScheduleSummary> schedules)
The schedules that match the specified criteria.
|
ListSchedulesResult |
withSchedules(ScheduleSummary... schedules)
The schedules that match the specified criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
nextToken
- Indicates whether there are additional results to retrieve. If the value is null, there are no more
results.public String getNextToken()
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
public ListSchedulesResult withNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If the value is null, there are no more results.
nextToken
- Indicates whether there are additional results to retrieve. If the value is null, there are no more
results.public List<ScheduleSummary> getSchedules()
The schedules that match the specified criteria.
public void setSchedules(Collection<ScheduleSummary> schedules)
The schedules that match the specified criteria.
schedules
- The schedules that match the specified criteria.public ListSchedulesResult withSchedules(ScheduleSummary... schedules)
The schedules that match the specified criteria.
NOTE: This method appends the values to the existing list (if any). Use
setSchedules(java.util.Collection)
or withSchedules(java.util.Collection)
if you want to
override the existing values.
schedules
- The schedules that match the specified criteria.public ListSchedulesResult withSchedules(Collection<ScheduleSummary> schedules)
The schedules that match the specified criteria.
schedules
- The schedules that match the specified criteria.public String toString()
toString
in class Object
Object.toString()
public ListSchedulesResult clone()