Class UsageName
java.lang.Object
com.azure.resourcemanager.compute.models.UsageName
The Usage Names.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the localizedValue property: The localized name of the resource.voidvalidate()Validates the instance.value()Get the value property: The name of the resource.withLocalizedValue(String localizedValue) Set the localizedValue property: The localized name of the resource.Set the value property: The name of the resource.
-
Constructor Details
-
UsageName
public UsageName()Creates an instance of UsageName class.
-
-
Method Details
-
value
Get the value property: The name of the resource.- Returns:
- the value value.
-
withValue
Set the value property: The name of the resource.- Parameters:
value- the value value to set.- Returns:
- the UsageName object itself.
-
localizedValue
Get the localizedValue property: The localized name of the resource.- Returns:
- the localizedValue value.
-
withLocalizedValue
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.
-