Class UpdateInstanceAgentConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateInstanceAgentConfigDetails.Builder
-
- Enclosing class:
- UpdateInstanceAgentConfigDetails
public static class UpdateInstanceAgentConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateInstanceAgentConfigDetails.Builder
areAllPluginsDisabled(Boolean areAllPluginsDisabled)
Whether Oracle Cloud Agent can run all the available plugins.UpdateInstanceAgentConfigDetails
build()
UpdateInstanceAgentConfigDetails.Builder
copy(UpdateInstanceAgentConfigDetails model)
UpdateInstanceAgentConfigDetails.Builder
isManagementDisabled(Boolean isManagementDisabled)
Whether Oracle Cloud Agent can run all the available management plugins.UpdateInstanceAgentConfigDetails.Builder
isMonitoringDisabled(Boolean isMonitoringDisabled)
Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins.UpdateInstanceAgentConfigDetails.Builder
pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.
-
-
-
Method Detail
-
isMonitoringDisabled
public UpdateInstanceAgentConfigDetails.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.
- Parameters:
isMonitoringDisabled
- the value to set- Returns:
- this builder
-
isManagementDisabled
public UpdateInstanceAgentConfigDetails.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.
- Parameters:
isManagementDisabled
- the value to set- Returns:
- this builder
-
areAllPluginsDisabled
public UpdateInstanceAgentConfigDetails.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.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).- Parameters:
areAllPluginsDisabled
- the value to set- Returns:
- this builder
-
pluginsConfig
public UpdateInstanceAgentConfigDetails.Builder pluginsConfig(List<InstanceAgentPluginConfigDetails> pluginsConfig)
The configuration of plugins associated with this instance.- Parameters:
pluginsConfig
- the value to set- Returns:
- this builder
-
build
public UpdateInstanceAgentConfigDetails build()
-
copy
public UpdateInstanceAgentConfigDetails.Builder copy(UpdateInstanceAgentConfigDetails model)
-
-