Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeReservedInstancesOfferingsResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeReservedInstancesOfferingsResult
All Implemented Interfaces:
Serializable

public class DescribeReservedInstancesOfferingsResult
extends Object
implements Serializable

The result of describing Reserved Instance offerings.

See Also:
Serialized Form

Constructor Summary
DescribeReservedInstancesOfferingsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNextToken()
          Returns the value of the NextToken property for this object.
 List<ReservedInstancesOffering> getReservedInstancesOfferings()
          The list of described Reserved Instance offerings.
 int hashCode()
           
 void setNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 void setReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
          The list of described Reserved Instance offerings.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesOfferingsResult withNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
          The list of described Reserved Instance offerings.
 DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
          The list of described Reserved Instance offerings.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeReservedInstancesOfferingsResult

public DescribeReservedInstancesOfferingsResult()
Method Detail

getReservedInstancesOfferings

public List<ReservedInstancesOffering> getReservedInstancesOfferings()
The list of described Reserved Instance offerings.

Returns:
The list of described Reserved Instance offerings.

setReservedInstancesOfferings

public void setReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
The list of described Reserved Instance offerings.

Parameters:
reservedInstancesOfferings - The list of described Reserved Instance offerings.

withReservedInstancesOfferings

public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
The list of described Reserved Instance offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesOfferings - The list of described Reserved Instance offerings.
Returns:
A reference to this updated object so that method calls can be chained together.

withReservedInstancesOfferings

public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(Collection<ReservedInstancesOffering> reservedInstancesOfferings)
The list of described Reserved Instance offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesOfferings - The list of described Reserved Instance offerings.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
Returns the value of the NextToken property for this object.

Returns:
The value of the NextToken property for this object.

setNextToken

public void setNextToken(String nextToken)
Sets the value of the NextToken property for this object.

Parameters:
nextToken - The new value for the NextToken property for this object.

withNextToken

public DescribeReservedInstancesOfferingsResult withNextToken(String nextToken)
Sets the value of the NextToken property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - The new value for the NextToken property for this object.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.