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:
java.io.Serializable

public class DescribeReservedInstancesOfferingsResult
extends java.lang.Object
implements java.io.Serializable

The result of describing Reserved Instance offerings.

See Also:
Serialized Form

Constructor Summary
DescribeReservedInstancesOfferingsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          Returns the value of the NextToken property for this object.
 java.util.List<ReservedInstancesOffering> getReservedInstancesOfferings()
          The list of described Reserved Instance offerings.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          Sets the value of the NextToken property for this object.
 void setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
          The list of described Reserved Instance offerings.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesOfferingsResult withNextToken(java.lang.String nextToken)
          Sets the value of the NextToken property for this object.
 DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(java.util.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 java.util.List<ReservedInstancesOffering> getReservedInstancesOfferings()
The list of described Reserved Instance offerings.

Returns:
The list of described Reserved Instance offerings.

setReservedInstancesOfferings

public void setReservedInstancesOfferings(java.util.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(java.util.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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