Class AgentConfigOverride.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • agentFilter

        public AgentConfigOverride.Builder agentFilter​(String agentFilter)
        The string that defines the Agent Filter expression.
        Parameters:
        agentFilter - the value to set
        Returns:
        this builder
      • overrideMap

        public AgentConfigOverride.Builder overrideMap​(Map<String,​String> overrideMap)
        A map whose key is a substitution variable specified within the configuration’s body.

        For example, if below was specified in the configuration’s body {{ isJfrEnabled | default false }} Then a valid map key would be “isJfrEnabled”. The value is typically different than the default specified in the configuration’s body. Thus, in this example, the map entry could be “isJfrEnabled”: true

        Parameters:
        overrideMap - the value to set
        Returns:
        this builder