@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateInstanceAgentConfigDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Configuration options for the Oracle Cloud Agent software running on the instance.
Note: Objects should always be created or deserialized using the UpdateInstanceAgentConfigDetails.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 the UpdateInstanceAgentConfigDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateInstanceAgentConfigDetails.Builder |
Constructor and Description |
---|
UpdateInstanceAgentConfigDetails(Boolean isMonitoringDisabled,
Boolean isManagementDisabled,
Boolean areAllPluginsDisabled,
List<InstanceAgentPluginConfigDetails> pluginsConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateInstanceAgentConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreAllPluginsDisabled()
Whether Oracle Cloud Agent can run all the available plugins.
|
Boolean |
getIsManagementDisabled()
Whether Oracle Cloud Agent can run all the available management plugins.
|
Boolean |
getIsMonitoringDisabled()
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
monitoring plugins.
|
List<InstanceAgentPluginConfigDetails> |
getPluginsConfig()
The configuration of plugins associated with this instance.
|
int |
hashCode() |
UpdateInstanceAgentConfigDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isMonitoringDisabled","isManagementDisabled","areAllPluginsDisabled","pluginsConfig"}) public UpdateInstanceAgentConfigDetails(Boolean isMonitoringDisabled, Boolean isManagementDisabled, Boolean areAllPluginsDisabled, List<InstanceAgentPluginConfigDetails> pluginsConfig)
public static UpdateInstanceAgentConfigDetails.Builder builder()
Create a new builder.
public UpdateInstanceAgentConfigDetails.Builder toBuilder()
public Boolean getIsMonitoringDisabled()
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins.
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin
configuration in the pluginsConfig
object.
- If isMonitoringDisabled
is true, all of the monitoring plugins are disabled,
regardless of the per-plugin configuration. - If isMonitoringDisabled
is false, all
of the monitoring plugins are enabled. You can optionally disable individual monitoring
plugins by providing a value in the pluginsConfig
object.
public Boolean getIsManagementDisabled()
Whether Oracle Cloud Agent can run all the available management plugins.
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin
configuration in the pluginsConfig
object.
- If isManagementDisabled
is true, all of the management plugins are disabled,
regardless of the per-plugin configuration. - If isManagementDisabled
is false, all
of the management plugins are enabled. You can optionally disable individual management
plugins by providing a value in the pluginsConfig
object.
public Boolean getAreAllPluginsDisabled()
Whether Oracle Cloud Agent can run all the available plugins. This includes the management and monitoring plugins.
To get a list of available plugins, use the listInstanceagentAvailablePlugins
operation in the Oracle Cloud Agent API. For more
information about the available plugins, see [Managing Plugins with Oracle Cloud
Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
public List<InstanceAgentPluginConfigDetails> getPluginsConfig()
The configuration of plugins associated with this instance.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.