Class LocalizableString
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.LocalizableString
-
public final class LocalizableString extends Object
Localizable string object containing the name and a localized value.
-
-
Constructor Summary
Constructors Constructor Description LocalizableString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlocalizedValue()Get the localizedValue property: Localized name.voidvalidate()Validates the instance.Stringvalue()Get the value property: Non-localized name.LocalizableStringwithLocalizedValue(String localizedValue)Set the localizedValue property: Localized name.LocalizableStringwithValue(String value)Set the value property: Non-localized name.
-
-
-
Method Detail
-
value
public String value()
Get the value property: Non-localized name.- Returns:
- the value value.
-
withValue
public LocalizableString withValue(String value)
Set the value property: Non-localized name.- Parameters:
value- the value value to set.- Returns:
- the LocalizableString object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: Localized name.- Returns:
- the localizedValue value.
-
withLocalizedValue
public LocalizableString withLocalizedValue(String localizedValue)
Set the localizedValue property: Localized name.- Parameters:
localizedValue- the localizedValue value to set.- Returns:
- the LocalizableString object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-