ConfigServerSettingsErrorRecord Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ConfigServerSettingsErrorRecord
- com.
Implements
public final class ConfigServerSettingsErrorRecord
implements JsonSerializable<ConfigServerSettingsErrorRecord>
Error record of the config server settings.
Constructor Summary
Constructor | Description |
---|---|
ConfigServerSettingsErrorRecord() |
Creates an instance of Config |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Config |
fromJson(JsonReader jsonReader)
Reads an instance of Config |
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. |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: The uri of the config server settings error record. |
void |
validate()
Validates the instance. |
Config |
withMessages(List<String> messages)
Set the messages property: The detail error messages of the record. |
Config |
withName(String name)
Set the name property: The name of the config server settings error record. |
Config |
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:
Returns:
Throws:
messages
public List
Get the messages property: The detail error messages of the record.
Returns:
name
public String name()
Get the name property: The name of the config server settings error record.
Returns:
toJson
uri
public String uri()
Get the uri property: The uri of the config server settings error record.
Returns:
validate
public void validate()
Validates the instance.
withMessages
public ConfigServerSettingsErrorRecord withMessages(List
Set the messages property: The detail error messages of the record.
Parameters:
Returns:
withName
public ConfigServerSettingsErrorRecord withName(String name)
Set the name property: The name of the config server settings error record.
Parameters:
Returns:
withUri
public ConfigServerSettingsErrorRecord withUri(String uri)
Set the uri property: The uri of the config server settings error record.
Parameters:
Returns:
Applies to
Azure SDK for Java