Class Amount
java.lang.Object
com.azure.resourcemanager.education.fluent.models.Amount
The amount.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrency()
Get the currency property: The type of currency being used for the value.void
validate()
Validates the instance.value()
Get the value property: Amount value.withCurrency
(String currency) Set the currency property: The type of currency being used for the value.Set the value property: Amount value.
-
Constructor Details
-
Amount
public Amount()
-
-
Method Details
-
currency
Get the currency property: The type of currency being used for the value.- Returns:
- the currency value.
-
withCurrency
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
Get the value property: Amount value.- Returns:
- the value value.
-
withValue
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.
-