@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScheduledInstanceAvailabilityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeScheduledInstanceAvailability.
Constructor and Description |
---|
DescribeScheduledInstanceAvailabilityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScheduledInstanceAvailabilityResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token required to retrieve the next set of results.
|
List<ScheduledInstanceAvailability> |
getScheduledInstanceAvailabilitySet()
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.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScheduledInstanceAvailabilityResult |
withNextToken(String nextToken)
The token required to retrieve the next set of results.
|
DescribeScheduledInstanceAvailabilityResult |
withScheduledInstanceAvailabilitySet(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
|
DescribeScheduledInstanceAvailabilityResult |
withScheduledInstanceAvailabilitySet(ScheduledInstanceAvailability... scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeScheduledInstanceAvailabilityResult()
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 DescribeScheduledInstanceAvailabilityResult 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<ScheduledInstanceAvailability> getScheduledInstanceAvailabilitySet()
Information about the available Scheduled Instances.
public void setScheduledInstanceAvailabilitySet(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(Collection<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet)
Information about the available Scheduled Instances.
scheduledInstanceAvailabilitySet
- Information about the available Scheduled Instances.public String toString()
toString
in class Object
Object.toString()
public DescribeScheduledInstanceAvailabilityResult clone()