Class RecurringCharge

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

public class RecurringCharge extends Object implements Serializable, Cloneable

Specifies whether charges for devices will be recurring.

See Also:
  • Constructor Details

    • RecurringCharge

      public RecurringCharge()
  • Method Details

    • setCost

      public void setCost(MonetaryAmount cost)

      The cost of the recurring charge.

      Parameters:
      cost - The cost of the recurring charge.
    • getCost

      public MonetaryAmount getCost()

      The cost of the recurring charge.

      Returns:
      The cost of the recurring charge.
    • withCost

      public RecurringCharge withCost(MonetaryAmount cost)

      The cost of the recurring charge.

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

      public void setFrequency(String frequency)

      The frequency in which charges will recur.

      Parameters:
      frequency - The frequency in which charges will recur.
      See Also:
    • getFrequency

      public String getFrequency()

      The frequency in which charges will recur.

      Returns:
      The frequency in which charges will recur.
      See Also:
    • withFrequency

      public RecurringCharge withFrequency(String frequency)

      The frequency in which charges will recur.

      Parameters:
      frequency - The frequency in which charges will recur.
      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 in which charges will recur.

      Parameters:
      frequency - The frequency in which charges will recur.
      See Also:
    • withFrequency

      public RecurringCharge withFrequency(RecurringChargeFrequency frequency)

      The frequency in which charges will recur.

      Parameters:
      frequency - The frequency in which charges will recur.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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