LocalizableString Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. LocalizableString
- com.
Implements
public final class LocalizableString
implements JsonSerializable<LocalizableString>
Localizable string object containing the name and a localized value.
Constructor Summary
Constructor | Description |
---|---|
LocalizableString() |
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: Non-localized name. |
Localizable |
withLocalizedValue(String localizedValue)
Set the localized |
Localizable |
withValue(String value)
Set the value property: Non-localized name. |
Methods inherited from java.lang.Object
Constructor Details
LocalizableString
public LocalizableString()
Creates an instance of LocalizableString class.
Method Details
fromJson
public static LocalizableString fromJson(JsonReader jsonReader)
Reads an instance of LocalizableString from the JsonReader.
Parameters:
Returns:
Throws:
localizedValue
public String localizedValue()
Get the localizedValue property: Localized name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Non-localized name.
Returns:
withLocalizedValue
public LocalizableString withLocalizedValue(String localizedValue)
Set the localizedValue property: Localized name.
Parameters:
Returns:
withValue
public LocalizableString withValue(String value)
Set the value property: Non-localized name.
Parameters:
Returns:
Applies to
Azure SDK for Java