Class UsageName
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.UsageName
-
public final class UsageName extends Object
The Usage Names.
-
-
Constructor Summary
Constructors Constructor Description UsageName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlocalizedValue()Get the localizedValue property: The localized name of the resource.voidvalidate()Validates the instance.Stringvalue()Get the value property: The name of the resource.UsageNamewithLocalizedValue(String localizedValue)Set the localizedValue property: The localized name of the resource.UsageNamewithValue(String value)Set the value property: The name of the resource.
-
-
-
Method Detail
-
value
public String value()
Get the value property: The name of the resource.- Returns:
- the value value.
-
withValue
public UsageName withValue(String value)
Set the value property: The name of the resource.- Parameters:
value- the value value to set.- Returns:
- the UsageName object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: The localized name of the resource.- Returns:
- the localizedValue value.
-
withLocalizedValue
public UsageName withLocalizedValue(String localizedValue)
Set the localizedValue property: The localized name of the resource.- Parameters:
localizedValue- the localizedValue value to set.- Returns:
- the UsageName object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-