Package com.amazonaws.services.ec2.model
Class RecurringCharge
java.lang.Object
com.amazonaws.services.ec2.model.RecurringCharge
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a recurring charge.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The amount of the recurring charge.The frequency of the recurring charge.int
hashCode()
void
The amount of the recurring charge.void
setFrequency
(RecurringChargeFrequency frequency) The frequency of the recurring charge.void
setFrequency
(String frequency) The frequency of the recurring charge.toString()
Returns a string representation of this object; useful for testing and debugging.withAmount
(Double amount) The amount of the recurring charge.withFrequency
(RecurringChargeFrequency frequency) The frequency of the recurring charge.withFrequency
(String frequency) The frequency of the recurring charge.
-
Constructor Details
-
RecurringCharge
public RecurringCharge()
-
-
Method Details
-
setFrequency
The frequency of the recurring charge.
- Parameters:
frequency
- The frequency of the recurring charge.- See Also:
-
getFrequency
The frequency of the recurring charge.
- Returns:
- The frequency of the recurring charge.
- See Also:
-
withFrequency
The frequency of the recurring charge.
- Parameters:
frequency
- The frequency of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFrequency
The frequency of the recurring charge.
- Parameters:
frequency
- The frequency of the recurring charge.- See Also:
-
withFrequency
The frequency of the recurring charge.
- Parameters:
frequency
- The frequency of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAmount
The amount of the recurring charge.
- Parameters:
amount
- The amount of the recurring charge.
-
getAmount
The amount of the recurring charge.
- Returns:
- The amount of the recurring charge.
-
withAmount
The amount of the recurring charge.
- Parameters:
amount
- The amount of the recurring charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-