Class LocalAgentConfiguration

java.lang.Object
io.micronaut.discovery.consul.client.v1.LocalAgentConfiguration

public class LocalAgentConfiguration extends Object
Configuration and member information of the local agent. See https://www.consul.io/api/agent.html
Author:
Álvaro Sánchez-Mariscal
  • Constructor Details

    • LocalAgentConfiguration

      public LocalAgentConfiguration()
  • Method Details

    • getConfiguration

      public Map<String,String> getConfiguration()
      Returns:
      Configuration for this agent
    • setConfiguration

      public void setConfiguration(Map<String,String> configuration)
      Parameters:
      configuration - The configuration
    • getDebugConfiguration

      public Map<String,Object> getDebugConfiguration()
      Returns:
      Debug configuration for this agent
    • setDebugConfiguration

      public void setDebugConfiguration(Map<String,Object> debugConfiguration)
      Parameters:
      debugConfiguration - Debug configuration
    • getMember

      public MemberEntry getMember()
      Returns:
      A MemberEntry describing this agent
    • setMember

      public void setMember(MemberEntry member)
      Parameters:
      member - A MemberEntry
    • getMetadata

      public Map<String,String> getMetadata()
      Returns:
      Metadata for this agent
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Parameters:
      metadata - Metadata