Class ConfigServerSettingsErrorRecord
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.ConfigServerSettingsErrorRecord
-
public final class ConfigServerSettingsErrorRecord extends Object
Error record of the config server settings.
-
-
Constructor Summary
Constructors Constructor Description ConfigServerSettingsErrorRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>messages()Get the messages property: The detail error messages of the record.Stringname()Get the name property: The name of the config server settings error record.Stringuri()Get the uri property: The uri of the config server settings error record.voidvalidate()Validates the instance.ConfigServerSettingsErrorRecordwithMessages(List<String> messages)Set the messages property: The detail error messages of the record.ConfigServerSettingsErrorRecordwithName(String name)Set the name property: The name of the config server settings error record.ConfigServerSettingsErrorRecordwithUri(String uri)Set the uri property: The uri of the config server settings error record.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the config server settings error record.- Returns:
- the name value.
-
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.
-
uri
public String uri()
Get the uri property: The uri of the config server settings error record.- Returns:
- the uri value.
-
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.
-
messages
public List<String> messages()
Get the messages property: The detail error messages of the record.- Returns:
- the messages value.
-
withMessages
public ConfigServerSettingsErrorRecord withMessages(List<String> messages)
Set the messages property: The detail error messages of the record.- Parameters:
messages- the messages value to set.- Returns:
- the ConfigServerSettingsErrorRecord object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-