public class DescribeScheduledInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeScheduledInstances.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token required to retrieve the next set of results.
|
private SdkInternalList<ScheduledInstance> |
scheduledInstanceSet
Information about the Scheduled Instances.
|
Constructor and Description |
---|
DescribeScheduledInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScheduledInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token required to retrieve the next set of results.
|
java.util.List<ScheduledInstance> |
getScheduledInstanceSet()
Information about the Scheduled Instances.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
void |
setScheduledInstanceSet(java.util.Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScheduledInstancesResult |
withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
DescribeScheduledInstancesResult |
withScheduledInstanceSet(java.util.Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
DescribeScheduledInstancesResult |
withScheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
|
private java.lang.String nextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.
private SdkInternalList<ScheduledInstance> scheduledInstanceSet
Information about the Scheduled Instances.
public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.util.List<ScheduledInstance> getScheduledInstanceSet()
Information about the Scheduled Instances.
public void setScheduledInstanceSet(java.util.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(java.util.Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeScheduledInstancesResult clone()
clone
in class java.lang.Object