public static class InstanceAgentConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceAgentConfig.Builder |
areAllPluginsDisabled(Boolean areAllPluginsDisabled)
Whether Oracle Cloud Agent can run all of the available plugins.
|
InstanceAgentConfig |
build() |
InstanceAgentConfig.Builder |
copy(InstanceAgentConfig model) |
InstanceAgentConfig.Builder |
isManagementDisabled(Boolean isManagementDisabled)
Whether Oracle Cloud Agent can run all the available management plugins.
|
InstanceAgentConfig.Builder |
isMonitoringDisabled(Boolean isMonitoringDisabled)
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using
the monitoring plugins.
|
InstanceAgentConfig.Builder |
pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.
|
public InstanceAgentConfig.Builder isMonitoringDisabled(Boolean isMonitoringDisabled)
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.
isMonitoringDisabled
- the value to setpublic InstanceAgentConfig.Builder isManagementDisabled(Boolean isManagementDisabled)
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.
isManagementDisabled
- the value to setpublic InstanceAgentConfig.Builder areAllPluginsDisabled(Boolean areAllPluginsDisabled)
Whether Oracle Cloud Agent can run all of the available plugins. This includes the management and monitoring plugins.
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).
areAllPluginsDisabled
- the value to setpublic InstanceAgentConfig.Builder pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.
pluginsConfig
- the value to setpublic InstanceAgentConfig build()
public InstanceAgentConfig.Builder copy(InstanceAgentConfig model)
Copyright © 2016–2023. All rights reserved.