com.amazonaws.services.ec2.model
Class ReservedInstanceLimitPrice

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ReservedInstanceLimitPrice

public class ReservedInstanceLimitPrice
extends Object

Reserved Instance Limit Price


Constructor Summary
ReservedInstanceLimitPrice()
           
 
Method Summary
 boolean equals(Object obj)
           
 Double getAmount()
          Returns the value of the Amount property for this object.
 String getCurrencyCode()
          Returns the value of the CurrencyCode property for this object.
 int hashCode()
           
 void setAmount(Double amount)
          Sets the value of the Amount property for this object.
 void setCurrencyCode(String currencyCode)
          Sets the value of the CurrencyCode property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedInstanceLimitPrice withAmount(Double amount)
          Sets the value of the Amount property for this object.
 ReservedInstanceLimitPrice withCurrencyCode(String currencyCode)
          Sets the value of the CurrencyCode property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedInstanceLimitPrice

public ReservedInstanceLimitPrice()
Method Detail

getAmount

public Double getAmount()
Returns the value of the Amount property for this object.

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

setAmount

public void setAmount(Double amount)
Sets the value of the Amount property for this object.

Parameters:
amount - The new value for the Amount property for this object.

withAmount

public ReservedInstanceLimitPrice withAmount(Double amount)
Sets the value of the Amount property for this object.

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

Parameters:
amount - The new value for the Amount property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCurrencyCode

public String getCurrencyCode()
Returns the value of the CurrencyCode property for this object.

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

setCurrencyCode

public void setCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object.

Parameters:
currencyCode - The new value for the CurrencyCode property for this object.

withCurrencyCode

public ReservedInstanceLimitPrice withCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object.

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

Parameters:
currencyCode - The new value for the CurrencyCode 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.