@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()
A token that you can use in a subsequent call to retrieve the next set of results.
|
List<Schedule> |
getSchedules()
A list of schedules that are defined.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
void |
setSchedules(Collection<Schedule> schedules)
A list of schedules that are defined.
|
String |
toString()
Returns a string representation of this object.
|
ListSchedulesResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
ListSchedulesResult |
withSchedules(Collection<Schedule> schedules)
A list of schedules that are defined.
|
ListSchedulesResult |
withSchedules(Schedule... schedules)
A list of schedules that are defined.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Schedule> getSchedules()
A list of schedules that are defined.
public void setSchedules(Collection<Schedule> schedules)
A list of schedules that are defined.
schedules
- A list of schedules that are defined.public ListSchedulesResult withSchedules(Schedule... schedules)
A list of schedules that are defined.
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
- A list of schedules that are defined.public ListSchedulesResult withSchedules(Collection<Schedule> schedules)
A list of schedules that are defined.
schedules
- A list of schedules that are defined.public void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListSchedulesResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListSchedulesResult clone()