Class RecurringCharge

java.lang.Object
com.amazonaws.services.ec2.model.RecurringCharge
All Implemented Interfaces:
Serializable, Cloneable

public class RecurringCharge extends Object implements Serializable, Cloneable

Describes a recurring charge.

See Also:
  • Constructor Details

    • RecurringCharge

      public RecurringCharge()
  • Method Details

    • setFrequency

      public void setFrequency(String frequency)

      The frequency of the recurring charge.

      Parameters:
      frequency - The frequency of the recurring charge.
      See Also:
    • getFrequency

      public String getFrequency()

      The frequency of the recurring charge.

      Returns:
      The frequency of the recurring charge.
      See Also:
    • withFrequency

      public RecurringCharge withFrequency(String frequency)

      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

      public void setFrequency(RecurringChargeFrequency frequency)

      The frequency of the recurring charge.

      Parameters:
      frequency - The frequency of the recurring charge.
      See Also:
    • withFrequency

      public RecurringCharge withFrequency(RecurringChargeFrequency frequency)

      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

      public void setAmount(Double amount)

      The amount of the recurring charge.

      Parameters:
      amount - The amount of the recurring charge.
    • getAmount

      public Double getAmount()

      The amount of the recurring charge.

      Returns:
      The amount of the recurring charge.
    • withAmount

      public RecurringCharge withAmount(Double amount)

      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

      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RecurringCharge clone()
      Overrides:
      clone in class Object