Class DescribeScheduledInstanceAvailabilityResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeScheduledInstanceAvailability.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The token required to retrieve the next set of results.Information about the available Scheduled Instances.int
hashCode()
void
setNextToken
(String nextToken) The token required to retrieve the next set of results.void
setScheduledInstanceAvailabilitySet
(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) The token required to retrieve the next set of results.withScheduledInstanceAvailabilitySet
(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.withScheduledInstanceAvailabilitySet
(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
-
Constructor Details
-
DescribeScheduledInstanceAvailabilityResult
public DescribeScheduledInstanceAvailabilityResult()
-
-
Method Details
-
setNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.
-
getNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Returns:
- The token required to retrieve the next set of results. This
value is
null
when there are no more results to return.
-
withNextToken
The token required to retrieve the next set of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getScheduledInstanceAvailabilitySet
Information about the available Scheduled Instances.
- Returns:
- Information about the available Scheduled Instances.
-
setScheduledInstanceAvailabilitySet
public void setScheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
- Parameters:
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.
-
withScheduledInstanceAvailabilitySet
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)
orwithScheduledInstanceAvailabilitySet(java.util.Collection)
if you want to override the existing values.- Parameters:
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withScheduledInstanceAvailabilitySet
public DescribeScheduledInstanceAvailabilityResult withScheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet) Information about the available Scheduled Instances.
- Parameters:
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-