Class InstanceAgentConfig


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class InstanceAgentConfig
    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 the InstanceAgentConfig.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 the InstanceAgentConfig.Builder, which maintain a set of all explicitly set fields called InstanceAgentConfig.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • getIsMonitoringDisabled

        public Boolean getIsMonitoringDisabled()
        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.

        Returns:
        the value
      • getIsManagementDisabled

        public Boolean getIsManagementDisabled()
        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.

        Returns:
        the value
      • getAreAllPluginsDisabled

        public Boolean getAreAllPluginsDisabled()
        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.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel