Class ConfigServerProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.ConfigServerProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigServerProperties>

public final class ConfigServerProperties extends Object implements com.azure.json.JsonSerializable<ConfigServerProperties>
Config server git properties payload.
  • Constructor Details

    • ConfigServerProperties

      public ConfigServerProperties()
      Creates an instance of ConfigServerProperties class.
  • Method Details

    • provisioningState

      public ConfigServerState provisioningState()
      Get the provisioningState property: State of the config server.
      Returns:
      the provisioningState value.
    • error

      public Error error()
      Get the error property: Error when apply config server settings.
      Returns:
      the error value.
    • withError

      public ConfigServerProperties withError(Error error)
      Set the error property: Error when apply config server settings.
      Parameters:
      error - the error value to set.
      Returns:
      the ConfigServerProperties object itself.
    • configServer

      public ConfigServerSettings configServer()
      Get the configServer property: Settings of config server.
      Returns:
      the configServer value.
    • withConfigServer

      public ConfigServerProperties withConfigServer(ConfigServerSettings configServer)
      Set the configServer property: Settings of config server.
      Parameters:
      configServer - the configServer value to set.
      Returns:
      the ConfigServerProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ConfigServerProperties>
      Throws:
      IOException
    • fromJson

      public static ConfigServerProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ConfigServerProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ConfigServerProperties 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 ConfigServerProperties.