QuotaName Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. QuotaName
- com.
Implements
public final class QuotaName
implements JsonSerializable<QuotaName>
The name of the quota.
Constructor Summary
| Constructor | Description |
|---|---|
| QuotaName() |
Creates an instance of Quota |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Quota |
fromJson(JsonReader jsonReader)
Reads an instance of Quota |
| String |
localizedValue()
Get the localized |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The unlocalized name (or ID) of the quota. |
|
Quota |
withLocalizedValue(String localizedValue)
Set the localized |
|
Quota |
withValue(String value)
Set the value property: The unlocalized name (or ID) of the quota. |
Methods inherited from java.lang.Object
Constructor Details
QuotaName
public QuotaName()
Creates an instance of QuotaName class.
Method Details
fromJson
public static QuotaName fromJson(JsonReader jsonReader)
Reads an instance of QuotaName from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: The localized name of the quota.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The unlocalized name (or ID) of the quota.
Returns:
withLocalizedValue
public QuotaName withLocalizedValue(String localizedValue)
Set the localizedValue property: The localized name of the quota.
Parameters:
Returns:
withValue
public QuotaName withValue(String value)
Set the value property: The unlocalized name (or ID) of the quota.
Parameters:
Returns: