com.amazonaws.services.ec2.model
Class PriceSchedule

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

public class PriceSchedule
extends Object

Price Schedule


Constructor Summary
PriceSchedule()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getActive()
          Returns the value of the Active property for this object.
 String getCurrencyCode()
          Returns the value of the CurrencyCode property for this object.
 Double getPrice()
          Returns the value of the Price property for this object.
 Long getTerm()
          Returns the value of the Term property for this object.
 int hashCode()
           
 Boolean isActive()
          Returns the value of the Active property for this object.
 void setActive(Boolean active)
          Sets the value of the Active property for this object.
 void setCurrencyCode(String currencyCode)
          Sets the value of the CurrencyCode property for this object.
 void setPrice(Double price)
          Sets the value of the Price property for this object.
 void setTerm(Long term)
          Sets the value of the Term property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PriceSchedule withActive(Boolean active)
          Sets the value of the Active property for this object.
 PriceSchedule withCurrencyCode(String currencyCode)
          Sets the value of the CurrencyCode property for this object.
 PriceSchedule withPrice(Double price)
          Sets the value of the Price property for this object.
 PriceSchedule withTerm(Long term)
          Sets the value of the Term property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PriceSchedule

public PriceSchedule()
Method Detail

getTerm

public Long getTerm()
Returns the value of the Term property for this object.

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

setTerm

public void setTerm(Long term)
Sets the value of the Term property for this object.

Parameters:
term - The new value for the Term property for this object.

withTerm

public PriceSchedule withTerm(Long term)
Sets the value of the Term property for this object.

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

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

getPrice

public Double getPrice()
Returns the value of the Price property for this object.

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

setPrice

public void setPrice(Double price)
Sets the value of the Price property for this object.

Parameters:
price - The new value for the Price property for this object.

withPrice

public PriceSchedule withPrice(Double price)
Sets the value of the Price property for this object.

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

Parameters:
price - The new value for the Price 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 PriceSchedule 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.

isActive

public Boolean isActive()
Returns the value of the Active property for this object.

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

setActive

public void setActive(Boolean active)
Sets the value of the Active property for this object.

Parameters:
active - The new value for the Active property for this object.

withActive

public PriceSchedule withActive(Boolean active)
Sets the value of the Active property for this object.

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

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

getActive

public Boolean getActive()
Returns the value of the Active property for this object.

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

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.