Class LocalAgentConfiguration
java.lang.Object
io.micronaut.discovery.consul.client.v1.LocalAgentConfiguration
Configuration and member information of the local agent. See https://www.consul.io/api/agent.html
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setConfiguration
(Map<String, String> configuration) void
setDebugConfiguration
(Map<String, Object> debugConfiguration) void
setMember
(MemberEntry member) void
setMetadata
(Map<String, String> metadata)
-
Constructor Details
-
LocalAgentConfiguration
public LocalAgentConfiguration()
-
-
Method Details
-
getConfiguration
- Returns:
- Configuration for this agent
-
setConfiguration
- Parameters:
configuration
- The configuration
-
getDebugConfiguration
- Returns:
- Debug configuration for this agent
-
setDebugConfiguration
- Parameters:
debugConfiguration
- Debug configuration
-
getMember
- Returns:
- A
MemberEntry
describing this agent
-
setMember
- Parameters:
member
- AMemberEntry
-
getMetadata
- Returns:
- Metadata for this agent
-
setMetadata
- Parameters:
metadata
- Metadata
-