public class DescribeScheduledInstancesResult extends Object implements Serializable, Cloneable
Contains the output of DescribeScheduledInstances.
| Constructor and Description |
|---|
DescribeScheduledInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScheduledInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token required to retrieve the next set of results.
|
List<ScheduledInstance> |
getScheduledInstanceSet()
Information about the Scheduled Instances.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token required to retrieve the next set of results.
|
void |
setScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScheduledInstancesResult |
withNextToken(String nextToken)
The token required to retrieve the next set of results.
|
DescribeScheduledInstancesResult |
withScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
DescribeScheduledInstancesResult |
withScheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
|
public String getNextToken()
null when there are no more results to return.null when there are no more results to return.public void setNextToken(String nextToken)
null when there are no more results to return.nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.public DescribeScheduledInstancesResult withNextToken(String nextToken)
null when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.public List<ScheduledInstance> getScheduledInstanceSet()
public void setScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
scheduledInstanceSet - Information about the Scheduled Instances.public DescribeScheduledInstancesResult withScheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
NOTE: This method appends the values to the existing list (if
any). Use setScheduledInstanceSet(java.util.Collection) or
withScheduledInstanceSet(java.util.Collection) if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceSet - Information about the Scheduled Instances.public DescribeScheduledInstancesResult withScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceSet - Information about the Scheduled Instances.public String toString()
toString in class ObjectObject.toString()public DescribeScheduledInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.