Package com.oracle.bmc.apmconfig.model
Class AgentConfigOverride.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.model.AgentConfigOverride.Builder
-
- Enclosing class:
- AgentConfigOverride
public static class AgentConfigOverride.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentConfigOverride.Builder
agentFilter(String agentFilter)
The string that defines the Agent Filter expression.AgentConfigOverride
build()
AgentConfigOverride.Builder
copy(AgentConfigOverride model)
AgentConfigOverride.Builder
overrideMap(Map<String,String> overrideMap)
A map whose key is a substitution variable specified within the configuration’s body.
-
-
-
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
-
build
public AgentConfigOverride build()
-
copy
public AgentConfigOverride.Builder copy(AgentConfigOverride model)
-
-