Class LocalizableStringInner
- java.lang.Object
-
- com.azure.resourcemanager.monitor.fluent.models.LocalizableStringInner
-
public final class LocalizableStringInner extends Object
The localizable string class.
-
-
Constructor Summary
Constructors Constructor Description LocalizableStringInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlocalizedValue()Get the localizedValue property: the locale specific value.voidvalidate()Validates the instance.Stringvalue()Get the value property: the invariant value.LocalizableStringInnerwithLocalizedValue(String localizedValue)Set the localizedValue property: the locale specific value.LocalizableStringInnerwithValue(String value)Set the value property: the invariant value.
-
-
-
Method Detail
-
value
public String value()
Get the value property: the invariant value.- Returns:
- the value value.
-
withValue
public LocalizableStringInner withValue(String value)
Set the value property: the invariant value.- Parameters:
value- the value value to set.- Returns:
- the LocalizableStringInner object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: the locale specific value.- Returns:
- the localizedValue value.
-
withLocalizedValue
public LocalizableStringInner withLocalizedValue(String localizedValue)
Set the localizedValue property: the locale specific value.- Parameters:
localizedValue- the localizedValue value to set.- Returns:
- the LocalizableStringInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-