ResourceName Class
- java.
lang. Object - com.
azure. resourcemanager. quota. models. ResourceName
- com.
Implements
public final class ResourceName
implements JsonSerializable<ResourceName>
Name of the resource provided by the resource Provider. When requesting quota, use this property name.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceName() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
localizedValue()
Get the localized |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Resource name. |
|
Resource |
withValue(String value)
Set the value property: Resource name. |
Methods inherited from java.lang.Object
Constructor Details
ResourceName
public ResourceName()
Creates an instance of ResourceName class.
Method Details
fromJson
public static ResourceName fromJson(JsonReader jsonReader)
Reads an instance of ResourceName from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: Resource display name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Resource name.
Returns:
withValue
public ResourceName withValue(String value)
Set the value property: Resource name.
Parameters:
Returns: