@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScheduledInstancesResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token required to retrieve the next set of results. This value is 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 String getNextToken()
The token required to retrieve the next set of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeScheduledInstancesResult withNextToken(String nextToken)
The token required to retrieve the next set of results. This value is 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 List<ScheduledInstance> getScheduledInstanceSet()
Information about the Scheduled Instances.
public void setScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.public DescribeScheduledInstancesResult withScheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
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.
scheduledInstanceSet
- Information about the Scheduled Instances.public DescribeScheduledInstancesResult withScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.public String toString()
toString
in class Object
Object.toString()
public DescribeScheduledInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.