Package com.oracle.bmc.apmconfig.model
Class CreateAgentConfigDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmconfig.model.CreateConfigDetails
-
- com.oracle.bmc.apmconfig.model.CreateAgentConfigDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class CreateAgentConfigDetails extends CreateConfigDetails
Agent configuration for any Agent complying with the OpAMP specification.
Note: Objects should always be created or deserialized using theCreateAgentConfigDetails.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 theCreateAgentConfigDetails.Builder
, which maintain a set of all explicitly set fields calledCreateAgentConfigDetails.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
CreateAgentConfigDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateAgentConfigDetails(Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String matchAgentsWithAttributeValue, AgentConfigMap config, AgentConfigOverrides overrides)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAgentConfigDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
AgentConfigMap
getConfig()
String
getMatchAgentsWithAttributeValue()
The agent attribute VALUE by which an agent configuration is matched to an agent.AgentConfigOverrides
getOverrides()
int
hashCode()
CreateAgentConfigDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.apmconfig.model.CreateConfigDetails
getDefinedTags, getFreeformTags
-
-
-
-
Constructor Detail
-
CreateAgentConfigDetails
@Deprecated public CreateAgentConfigDetails(Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String matchAgentsWithAttributeValue, AgentConfigMap config, AgentConfigOverrides overrides)
Deprecated.
-
-
Method Detail
-
builder
public static CreateAgentConfigDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateAgentConfigDetails.Builder toBuilder()
-
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 classCreateConfigDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classCreateConfigDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCreateConfigDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCreateConfigDetails
-
-