ConfigServerSettingsErrorRecord Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ConfigServerSettingsErrorRecord

Implements

public final class ConfigServerSettingsErrorRecord
implements JsonSerializable<ConfigServerSettingsErrorRecord>

Error record of the config server settings.

Constructor Summary

Constructor Description
ConfigServerSettingsErrorRecord()

Creates an instance of ConfigServerSettingsErrorRecord class.

Method Summary

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

Reads an instance of ConfigServerSettingsErrorRecord from the JsonReader.

List<String> messages()

Get the messages property: The detail error messages of the record.

String name()

Get the name property: The name of the config server settings error record.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The uri of the config server settings error record.

void validate()

Validates the instance.

ConfigServerSettingsErrorRecord withMessages(List<String> messages)

Set the messages property: The detail error messages of the record.

ConfigServerSettingsErrorRecord withName(String name)

Set the name property: The name of the config server settings error record.

ConfigServerSettingsErrorRecord withUri(String uri)

Set the uri property: The uri of the config server settings error record.

Methods inherited from java.lang.Object

Constructor Details

ConfigServerSettingsErrorRecord

public ConfigServerSettingsErrorRecord()

Creates an instance of ConfigServerSettingsErrorRecord class.

Method Details

fromJson

public static ConfigServerSettingsErrorRecord fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerSettingsErrorRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ConfigServerSettingsErrorRecord.

messages

public List messages()

Get the messages property: The detail error messages of the record.

Returns:

the messages value.

name

public String name()

Get the name property: The name of the config server settings error record.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: The uri of the config server settings error record.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withMessages

public ConfigServerSettingsErrorRecord withMessages(List messages)

Set the messages property: The detail error messages of the record.

Parameters:

messages - the messages value to set.

Returns:

the ConfigServerSettingsErrorRecord object itself.

withName

public ConfigServerSettingsErrorRecord withName(String name)

Set the name property: The name of the config server settings error record.

Parameters:

name - the name value to set.

Returns:

the ConfigServerSettingsErrorRecord object itself.

withUri

public ConfigServerSettingsErrorRecord withUri(String uri)

Set the uri property: The uri of the config server settings error record.

Parameters:

uri - the uri value to set.

Returns:

the ConfigServerSettingsErrorRecord object itself.

Applies to