Class RecurringCharge

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

public class RecurringCharge extends Object implements Serializable, Cloneable

This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.

See Also:
  • Constructor Details

    • RecurringCharge

      public RecurringCharge()
  • Method Details

    • setRecurringChargeAmount

      public void setRecurringChargeAmount(Double recurringChargeAmount)

      The amount of the recurring charge.

      Parameters:
      recurringChargeAmount - The amount of the recurring charge.
    • getRecurringChargeAmount

      public Double getRecurringChargeAmount()

      The amount of the recurring charge.

      Returns:
      The amount of the recurring charge.
    • withRecurringChargeAmount

      public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount)

      The amount of the recurring charge.

      Parameters:
      recurringChargeAmount - The amount of the recurring charge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRecurringChargeFrequency

      public void setRecurringChargeFrequency(String recurringChargeFrequency)

      The frequency of the recurring charge.

      Parameters:
      recurringChargeFrequency - The frequency of the recurring charge.
    • getRecurringChargeFrequency

      public String getRecurringChargeFrequency()

      The frequency of the recurring charge.

      Returns:
      The frequency of the recurring charge.
    • withRecurringChargeFrequency

      public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency)

      The frequency of the recurring charge.

      Parameters:
      recurringChargeFrequency - The frequency 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