public static class LaunchInstanceAgentConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LaunchInstanceAgentConfigDetails.Builder |
areAllPluginsDisabled(Boolean areAllPluginsDisabled)
Whether Oracle Cloud Agent can run all the available plugins.
|
LaunchInstanceAgentConfigDetails |
build() |
LaunchInstanceAgentConfigDetails.Builder |
copy(LaunchInstanceAgentConfigDetails model) |
LaunchInstanceAgentConfigDetails.Builder |
isManagementDisabled(Boolean isManagementDisabled)
Whether Oracle Cloud Agent can run all the available management plugins.
|
LaunchInstanceAgentConfigDetails.Builder |
isMonitoringDisabled(Boolean isMonitoringDisabled)
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using
the monitoring plugins.
|
LaunchInstanceAgentConfigDetails.Builder |
pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.
|
public LaunchInstanceAgentConfigDetails.Builder isMonitoringDisabled(Boolean isMonitoringDisabled)
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled).
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 the monitoring plugins are disabled,
regardless of the per-plugin configuration. - If isMonitoringDisabled
is false,
all 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 LaunchInstanceAgentConfigDetails.Builder isManagementDisabled(Boolean isManagementDisabled)
Whether Oracle Cloud Agent can run all the available management plugins. By default, the value is false (management plugins are enabled).
These are the management plugins: OS Management Service Agent and Compute instance run command.
The management plugins are controlled by this parameter and the per-plugin
configuration in the pluginsConfig
object.
- If isManagementDisabled
is true, all the management plugins are disabled,
regardless of the per-plugin configuration. - If isManagementDisabled
is false,
all 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 LaunchInstanceAgentConfigDetails.Builder areAllPluginsDisabled(Boolean areAllPluginsDisabled)
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).
areAllPluginsDisabled
- the value to setpublic LaunchInstanceAgentConfigDetails.Builder pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.
pluginsConfig
- the value to setpublic LaunchInstanceAgentConfigDetails build()
public LaunchInstanceAgentConfigDetails.Builder copy(LaunchInstanceAgentConfigDetails model)
Copyright © 2016–2024. All rights reserved.