public class DescribeScheduledInstanceAvailabilityResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeScheduledInstanceAvailability.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token required to retrieve the next set of results.
|
private SdkInternalList<ScheduledInstanceAvailability> |
scheduledInstanceAvailabilitySet
Information about the available Scheduled Instances.
|
Constructor and Description |
---|
DescribeScheduledInstanceAvailabilityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScheduledInstanceAvailabilityResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token required to retrieve the next set of results.
|
java.util.List<ScheduledInstanceAvailability> |
getScheduledInstanceAvailabilitySet()
Information about the available Scheduled Instances.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
void |
setScheduledInstanceAvailabilitySet(java.util.Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScheduledInstanceAvailabilityResult |
withNextToken(java.lang.String nextToken)
The token required to retrieve the next set of results.
|
DescribeScheduledInstanceAvailabilityResult |
withScheduledInstanceAvailabilitySet(java.util.Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
|
DescribeScheduledInstanceAvailabilityResult |
withScheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet)
Information about the available 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<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet
Information about the available Scheduled Instances.
public DescribeScheduledInstanceAvailabilityResult()
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 DescribeScheduledInstanceAvailabilityResult 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<ScheduledInstanceAvailability> getScheduledInstanceAvailabilitySet()
Information about the available Scheduled Instances.
public void setScheduledInstanceAvailabilitySet(java.util.Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.public DescribeScheduledInstanceAvailabilityResult withScheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
NOTE: This method appends the values to the existing list (if
any). Use
setScheduledInstanceAvailabilitySet(java.util.Collection)
or
withScheduledInstanceAvailabilitySet(java.util.Collection)
if
you want to override the existing values.
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.public DescribeScheduledInstanceAvailabilityResult withScheduledInstanceAvailabilitySet(java.util.Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
scheduledInstanceAvailabilitySet
- Information about the available 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 DescribeScheduledInstanceAvailabilityResult clone()
clone
in class java.lang.Object