UsageName Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. UsageName
- com.
Implements
public final class UsageName
implements JsonSerializable<UsageName>
The usage names.
Constructor Summary
Constructor | Description |
---|---|
UsageName() |
Creates an instance of Usage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Usage |
fromJson(JsonReader jsonReader)
Reads an instance of Usage |
String |
localizedValue()
Get the localized |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: A string describing the resource name. |
Usage |
withLocalizedValue(String localizedValue)
Set the localized |
Usage |
withValue(String value)
Set the value property: A string describing the resource name. |
Methods inherited from java.lang.Object
Constructor Details
UsageName
public UsageName()
Creates an instance of UsageName class.
Method Details
fromJson
public static UsageName fromJson(JsonReader jsonReader)
Reads an instance of UsageName from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: A localized string describing the resource name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: A string describing the resource name.
Returns:
withLocalizedValue
public UsageName withLocalizedValue(String localizedValue)
Set the localizedValue property: A localized string describing the resource name.
Parameters:
Returns:
withValue
public UsageName withValue(String value)
Set the value property: A string describing the resource name.
Parameters:
Returns:
Applies to
Azure SDK for Java