Package com.amazonaws.services.ec2.model
Class PurchaseScheduledInstancesResult
java.lang.Object
com.amazonaws.services.ec2.model.PurchaseScheduledInstancesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of PurchaseScheduledInstances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the Scheduled Instances.int
hashCode()
void
setScheduledInstanceSet
(Collection<ScheduledInstance> scheduledInstanceSet) Information about the Scheduled Instances.toString()
Returns a string representation of this object; useful for testing and debugging.withScheduledInstanceSet
(ScheduledInstance... scheduledInstanceSet) Information about the Scheduled Instances.withScheduledInstanceSet
(Collection<ScheduledInstance> scheduledInstanceSet) Information about the Scheduled Instances.
-
Constructor Details
-
PurchaseScheduledInstancesResult
public PurchaseScheduledInstancesResult()
-
-
Method Details
-
getScheduledInstanceSet
Information about the Scheduled Instances.
- Returns:
- Information about the Scheduled Instances.
-
setScheduledInstanceSet
Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet
- Information about the Scheduled Instances.
-
withScheduledInstanceSet
public PurchaseScheduledInstancesResult 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)
orwithScheduledInstanceSet(java.util.Collection)
if you want to override the existing values.- Parameters:
scheduledInstanceSet
- Information about the Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withScheduledInstanceSet
public PurchaseScheduledInstancesResult withScheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet) Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet
- Information about the 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
-