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 Details

    • ConfigServerSettingsErrorRecord

      public ConfigServerSettingsErrorRecord()
  • Method Details

    • 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

      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.