Package com.oracle.bmc.apmconfig.model
Class AgentConfig
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmconfig.model.Config
-
- com.oracle.bmc.apmconfig.model.AgentConfig
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class AgentConfig extends Config
Agent configuration for any Agent complying with the OpAMP specification.
Note: Objects should always be created or deserialized using theAgentConfig.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theAgentConfig.Builder
, which maintain a set of all explicitly set fields calledAgentConfig.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentConfig.Builder
-
Constructor Summary
Constructors Constructor Description AgentConfig(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<String> matchAgentsWithAttributeKey, String matchAgentsWithAttributeValue, AgentConfigMap config, AgentConfigOverrides overrides)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgentConfig.Builder
builder()
Create a new builder.boolean
equals(Object o)
AgentConfigMap
getConfig()
List<String>
getMatchAgentsWithAttributeKey()
The agent attribute KEY by which an Agent configuration is matched to an agent.String
getMatchAgentsWithAttributeValue()
The agent attribute VALUE by which an agent configuration is matched to an agent.AgentConfigOverrides
getOverrides()
int
hashCode()
AgentConfig.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.apmconfig.model.Config
getCreatedBy, getDefinedTags, getEtag, getFreeformTags, getId, getTimeCreated, getTimeUpdated, getUpdatedBy
-
-
-
-
Constructor Detail
-
AgentConfig
@Deprecated public AgentConfig(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<String> matchAgentsWithAttributeKey, String matchAgentsWithAttributeValue, AgentConfigMap config, AgentConfigOverrides overrides)
Deprecated.
-
-
Method Detail
-
builder
public static AgentConfig.Builder builder()
Create a new builder.
-
toBuilder
public AgentConfig.Builder toBuilder()
-
getMatchAgentsWithAttributeKey
public List<String> getMatchAgentsWithAttributeKey()
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.
- Returns:
- the value
-
getMatchAgentsWithAttributeValue
public String getMatchAgentsWithAttributeValue()
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.
- Returns:
- the value
-
getConfig
public AgentConfigMap getConfig()
-
getOverrides
public AgentConfigOverrides getOverrides()
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-