Class UsageName
- java.lang.Object
-
- com.azure.resourcemanager.labservices.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 String
localizedValue()
Get the localizedValue property: The localized name of the resource.void
validate()
Validates the instance.String
value()
Get the value property: The name of the resource.UsageName
withLocalizedValue(String localizedValue)
Set the localizedValue property: The localized name of the resource.UsageName
withValue(String value)
Set the value property: The name of the resource.
-
-
-
Method Detail
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-