LocalizableStringInner Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.fluent.models.LocalizableStringInner

Implements

public final class LocalizableStringInner
implements JsonSerializable<LocalizableStringInner>

The localizable string class.

Constructor Summary

Constructor Description
LocalizableStringInner()

Creates an instance of LocalizableStringInner class.

Method Summary

Modifier and Type Method and Description
static LocalizableStringInner fromJson(JsonReader jsonReader)

Reads an instance of LocalizableStringInner from the JsonReader.

String localizedValue()

Get the localizedValue property: the locale specific value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: the invariant value.

LocalizableStringInner withLocalizedValue(String localizedValue)

Set the localizedValue property: the locale specific value.

LocalizableStringInner 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:

jsonReader - The JsonReader being read.

Returns:

An instance of LocalizableStringInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

localizedValue

public String localizedValue()

Get the localizedValue property: the locale specific value.

Returns:

the localizedValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: the invariant value.

Returns:

the value 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.

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.

Applies to