Package com.oracle.bmc.apmconfig.model
Class AgentConfigSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmconfig.model.ConfigSummary
-
- com.oracle.bmc.apmconfig.model.AgentConfigSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class AgentConfigSummary extends ConfigSummary
Agent configuration for any Agent complying with the OpAMP specification.
Note: Objects should always be created or deserialized using theAgentConfigSummary.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 theAgentConfigSummary.Builder
, which maintain a set of all explicitly set fields calledAgentConfigSummary.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
AgentConfigSummary.Builder
-
Constructor Summary
Constructors Constructor Description AgentConfigSummary(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, 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 AgentConfigSummary.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()
AgentConfigSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.apmconfig.model.ConfigSummary
getCreatedBy, getDefinedTags, getEtag, getFreeformTags, getId, getSystemTags, getTimeCreated, getTimeUpdated, getUpdatedBy
-
-
-
-
Constructor Detail
-
AgentConfigSummary
@Deprecated public AgentConfigSummary(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, List<String> matchAgentsWithAttributeKey, String matchAgentsWithAttributeValue, AgentConfigMap config, AgentConfigOverrides overrides)
Deprecated.
-
-
Method Detail
-
builder
public static AgentConfigSummary.Builder builder()
Create a new builder.
-
toBuilder
public AgentConfigSummary.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()
- Overrides:
toString
in classConfigSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classConfigSummary
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classConfigSummary
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classConfigSummary
-
-