java.lang.Object
com.azure.resourcemanager.education.fluent.models.Amount

public final class Amount extends Object
The amount.
  • Constructor Details

    • Amount

      public Amount()
  • Method Details

    • currency

      public String currency()
      Get the currency property: The type of currency being used for the value.
      Returns:
      the currency value.
    • withCurrency

      public Amount withCurrency(String currency)
      Set the currency property: The type of currency being used for the value.
      Parameters:
      currency - the currency value to set.
      Returns:
      the Amount object itself.
    • value

      public Float value()
      Get the value property: Amount value.
      Returns:
      the value value.
    • withValue

      public Amount withValue(Float value)
      Set the value property: Amount value.
      Parameters:
      value - the value value to set.
      Returns:
      the Amount object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.