public static class InstanceAgentPluginConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceAgentPluginConfigDetails |
build() |
InstanceAgentPluginConfigDetails.Builder |
copy(InstanceAgentPluginConfigDetails model) |
InstanceAgentPluginConfigDetails.Builder |
desiredState(InstanceAgentPluginConfigDetails.DesiredState desiredState)
Whether the plugin should be enabled or disabled.
|
InstanceAgentPluginConfigDetails.Builder |
name(String name)
The plugin name.
|
public InstanceAgentPluginConfigDetails.Builder name(String name)
The plugin name. 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.
name
- the value to setpublic InstanceAgentPluginConfigDetails.Builder desiredState(InstanceAgentPluginConfigDetails.DesiredState desiredState)
Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the isMonitoringDisabled
and
isManagementDisabled
attributes must also be set to false.
desiredState
- the value to setpublic InstanceAgentPluginConfigDetails build()
public InstanceAgentPluginConfigDetails.Builder copy(InstanceAgentPluginConfigDetails model)
Copyright © 2016–2024. All rights reserved.