Class ConfigServerProperties


  • public final class ConfigServerProperties
    extends Object
    Config server git properties payload.
    • Constructor Detail

      • ConfigServerProperties

        public ConfigServerProperties()
    • Method Detail

      • 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.