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

See Also:
Serialized Form

Constructor Summary
DescribeReservedInstancesOfferingsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          The next paginated set of results to return.
 java.util.List<ReservedInstancesOffering> getReservedInstancesOfferings()
          A list of Reserved Instances offerings.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          The next paginated set of results to return.
 void setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
          A list of Reserved Instances offerings.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesOfferingsResult withNextToken(java.lang.String nextToken)
          The next paginated set of results to return.
 DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
          A list of Reserved Instances offerings.
 DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
          A list of Reserved Instances 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()
A list of Reserved Instances offerings.

Returns:
A list of Reserved Instances offerings.

setReservedInstancesOfferings

public void setReservedInstancesOfferings(java.util.Collection<ReservedInstancesOffering> reservedInstancesOfferings)
A list of Reserved Instances offerings.

Parameters:
reservedInstancesOfferings - A list of Reserved Instances offerings.

withReservedInstancesOfferings

public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(ReservedInstancesOffering... reservedInstancesOfferings)
A list of Reserved Instances offerings.

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

Parameters:
reservedInstancesOfferings - A list of Reserved Instances 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)
A list of Reserved Instances offerings.

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

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

getNextToken

public java.lang.String getNextToken()
The next paginated set of results to return.

Returns:
The next paginated set of results to return.

setNextToken

public void setNextToken(java.lang.String nextToken)
The next paginated set of results to return.

Parameters:
nextToken - The next paginated set of results to return.

withNextToken

public DescribeReservedInstancesOfferingsResult withNextToken(java.lang.String nextToken)
The next paginated set of results to return.

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

Parameters:
nextToken - The next paginated set of results to return.
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.