Class DescribeScheduledInstanceAvailabilityResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeScheduledInstanceAvailabilityResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeScheduledInstanceAvailabilityResult extends Object implements Serializable, Cloneable
Contains the output of DescribeScheduledInstanceAvailability.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeScheduledInstanceAvailabilityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeScheduledInstanceAvailabilityResultclone()booleanequals(Object obj)StringgetNextToken()The token required to retrieve the next set of results.List<ScheduledInstanceAvailability>getScheduledInstanceAvailabilitySet()Information about the available Scheduled Instances.inthashCode()voidsetNextToken(String nextToken)The token required to retrieve the next set of results.voidsetScheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)Information about the available Scheduled Instances.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeScheduledInstanceAvailabilityResultwithNextToken(String nextToken)The token required to retrieve the next set of results.DescribeScheduledInstanceAvailabilityResultwithScheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet)Information about the available Scheduled Instances.DescribeScheduledInstanceAvailabilityResultwithScheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)Information about the available Scheduled Instances.
-
-
-
Method Detail
-
setNextToken
public void setNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token required to retrieve the next set of results. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Returns:
- The token required to retrieve the next set of results. This
value is
nullwhen there are no more results to return.
-
withNextToken
public DescribeScheduledInstanceAvailabilityResult withNextToken(String nextToken)
The token required to retrieve the next set of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token required to retrieve the next set of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getScheduledInstanceAvailabilitySet
public List<ScheduledInstanceAvailability> 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeScheduledInstanceAvailabilityResult clone()
-
-