Class ComputeAutoActivatePluginConfigDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.stackmonitoring.model.Config
-
- com.oracle.bmc.stackmonitoring.model.ComputeAutoActivatePluginConfigDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class ComputeAutoActivatePluginConfigDetails extends Config
A configuration of the COMPUTE_AUTO_ACTIVATE_PLUGIN type consists of a boolean value that determines if detection of new or terminated Compute instances should be enabled, and if the Management Agent as a plugin of Oracle Cloud Agent should automatically be activated.
Note: Objects should always be created or deserialized using theComputeAutoActivatePluginConfigDetails.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 theComputeAutoActivatePluginConfigDetails.Builder
, which maintain a set of all explicitly set fields calledComputeAutoActivatePluginConfigDetails.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
ComputeAutoActivatePluginConfigDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.stackmonitoring.model.Config
Config.ConfigType, Config.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description ComputeAutoActivatePluginConfigDetails(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, Config.LifecycleState lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Boolean isEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeAutoActivatePluginConfigDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getIsEnabled()
True if automatic activation of the Management Agent plugin is enabled, false if it is not enabled.int
hashCode()
ComputeAutoActivatePluginConfigDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.stackmonitoring.model.Config
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
ComputeAutoActivatePluginConfigDetails
@Deprecated public ComputeAutoActivatePluginConfigDetails(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, Config.LifecycleState lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Boolean isEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeAutoActivatePluginConfigDetails.Builder builder()
Create a new builder.
-
toBuilder
public ComputeAutoActivatePluginConfigDetails.Builder toBuilder()
-
getIsEnabled
public Boolean getIsEnabled()
True if automatic activation of the Management Agent plugin is enabled, false if it is not enabled.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-