Package com.oracle.bmc.apmconfig.model
Class AgentConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.model.AgentConfig.Builder
-
- Enclosing class:
- AgentConfig
public static class AgentConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public AgentConfig.Builder id(String id)
-
timeCreated
public AgentConfig.Builder timeCreated(Date timeCreated)
-
timeUpdated
public AgentConfig.Builder timeUpdated(Date timeUpdated)
-
createdBy
public AgentConfig.Builder createdBy(String createdBy)
-
updatedBy
public AgentConfig.Builder updatedBy(String updatedBy)
-
etag
public AgentConfig.Builder etag(String etag)
-
freeformTags
public AgentConfig.Builder freeformTags(Map<String,String> freeformTags)
-
matchAgentsWithAttributeKey
public AgentConfig.Builder matchAgentsWithAttributeKey(List<String> matchAgentsWithAttributeKey)
The agent attribute KEY by which an Agent configuration is matched to an agent.All agent configuration objects share the same key. It is [ServiceName, service.name] by default. The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
- Parameters:
matchAgentsWithAttributeKey
- the value to set- Returns:
- this builder
-
matchAgentsWithAttributeValue
public AgentConfig.Builder matchAgentsWithAttributeValue(String matchAgentsWithAttributeValue)
The agent attribute VALUE by which an agent configuration is matched to an agent.Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
- Parameters:
matchAgentsWithAttributeValue
- the value to set- Returns:
- this builder
-
config
public AgentConfig.Builder config(AgentConfigMap config)
-
overrides
public AgentConfig.Builder overrides(AgentConfigOverrides overrides)
-
build
public AgentConfig build()
-
copy
public AgentConfig.Builder copy(AgentConfig model)
-
-