Class LaunchInstanceAgentConfigDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.LaunchInstanceAgentConfigDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class LaunchInstanceAgentConfigDetails 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 theLaunchInstanceAgentConfigDetails.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 theLaunchInstanceAgentConfigDetails.Builder
, which maintain a set of all explicitly set fields calledLaunchInstanceAgentConfigDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaunchInstanceAgentConfigDetails.Builder
-
Constructor Summary
Constructors Constructor Description LaunchInstanceAgentConfigDetails(Boolean isMonitoringDisabled, Boolean isManagementDisabled, Boolean areAllPluginsDisabled, List<InstanceAgentPluginConfigDetails> pluginsConfig)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchInstanceAgentConfigDetails.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()
LaunchInstanceAgentConfigDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LaunchInstanceAgentConfigDetails
@Deprecated @ConstructorProperties({"isMonitoringDisabled","isManagementDisabled","areAllPluginsDisabled","pluginsConfig"}) public LaunchInstanceAgentConfigDetails(Boolean isMonitoringDisabled, Boolean isManagementDisabled, Boolean areAllPluginsDisabled, List<InstanceAgentPluginConfigDetails> pluginsConfig)
Deprecated.
-
-
Method Detail
-
builder
public static LaunchInstanceAgentConfigDetails.Builder builder()
Create a new builder.
-
toBuilder
public LaunchInstanceAgentConfigDetails.Builder toBuilder()
-
getIsMonitoringDisabled
public Boolean getIsMonitoringDisabled()
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.
- Returns:
- the value
-
getIsManagementDisabled
public Boolean getIsManagementDisabled()
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.
- Returns:
- the value
-
getAreAllPluginsDisabled
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.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).- Returns:
- the value
-
getPluginsConfig
public List<InstanceAgentPluginConfigDetails> getPluginsConfig()
The configuration of plugins associated with this instance.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-