LocalizableStringInner Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. fluent. models. LocalizableStringInner
- com.
Implements
public final class LocalizableStringInner
implements JsonSerializable<LocalizableStringInner>
The localizable string class.
Constructor Summary
Constructor | Description |
---|---|
LocalizableStringInner() |
Creates an instance of Localizable |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Localizable |
fromJson(JsonReader jsonReader)
Reads an instance of Localizable |
String |
localizedValue()
Get the localized |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: the invariant value. |
Localizable |
withLocalizedValue(String localizedValue)
Set the localized |
Localizable |
withValue(String value)
Set the value property: the invariant value. |
Methods inherited from java.lang.Object
Constructor Details
LocalizableStringInner
public LocalizableStringInner()
Creates an instance of LocalizableStringInner class.
Method Details
fromJson
public static LocalizableStringInner fromJson(JsonReader jsonReader)
Reads an instance of LocalizableStringInner from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: the locale specific value.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: the invariant value.
Returns:
withLocalizedValue
public LocalizableStringInner withLocalizedValue(String localizedValue)
Set the localizedValue property: the locale specific value.
Parameters:
Returns:
withValue
public LocalizableStringInner withValue(String value)
Set the value property: the invariant value.
Parameters:
Returns:
Applies to
Azure SDK for Java