Class UsageName
- java.lang.Object
-
- com.azure.resourcemanager.cdn.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: A localized string describing the resource name.voidvalidate()Validates the instance.Stringvalue()Get the value property: A string describing the resource name.UsageNamewithLocalizedValue(String localizedValue)Set the localizedValue property: A localized string describing the resource name.UsageNamewithValue(String value)Set the value property: A string describing the resource name.
-
-
-
Method Detail
-
value
public String value()
Get the value property: A string describing the resource name.- Returns:
- the value value.
-
withValue
public UsageName withValue(String value)
Set the value property: A string describing the resource name.- Parameters:
value- the value value to set.- Returns:
- the UsageName object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: A localized string describing the resource name.- Returns:
- the localizedValue value.
-
withLocalizedValue
public UsageName withLocalizedValue(String localizedValue)
Set the localizedValue property: A localized string describing the resource name.- 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.
-
-