@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DataCollectionOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud
VM cluster/VMBM DBCS.
Note: Objects should always be created or deserialized using the DataCollectionOptions.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 DataCollectionOptions.Builder
, which maintain a
set of all explicitly set fields called DataCollectionOptions.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
).
Modifier and Type | Class and Description |
---|---|
static class |
DataCollectionOptions.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DataCollectionOptions(Boolean isDiagnosticsEventsEnabled,
Boolean isHealthMonitoringEnabled,
Boolean isIncidentLogsEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DataCollectionOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getIsDiagnosticsEventsEnabled()
Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM
DBCS.
|
Boolean |
getIsHealthMonitoringEnabled()
Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM
DBCS.
|
Boolean |
getIsIncidentLogsEnabled()
Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud
VM cluster / VMBM DBCS.
|
int |
hashCode() |
DataCollectionOptions.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isDiagnosticsEventsEnabled","isHealthMonitoringEnabled","isIncidentLogsEnabled"}) public DataCollectionOptions(Boolean isDiagnosticsEventsEnabled, Boolean isHealthMonitoringEnabled, Boolean isIncidentLogsEnabled)
public static DataCollectionOptions.Builder builder()
Create a new builder.
public DataCollectionOptions.Builder toBuilder()
public Boolean getIsDiagnosticsEventsEnabled()
Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM
DBCS. Enabling diagnostic collection allows you to receive Events service notifications for
guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and
proactive support for your Exadata system. You can enable diagnostic collection during VM
cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using
the UpdateVmCluster
or updateCloudVmCluster
API.
public Boolean getIsHealthMonitoringEnabled()
Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM
DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with
its operations and support personnel. You may also receive notifications for some events.
Collecting health diagnostics enables Oracle to provide proactive support and enhanced
service for your system. Optionally enable health monitoring while provisioning a system. You
can also disable or enable health monitoring anytime using the UpdateVmCluster
,
UpdateCloudVmCluster
or updateDbsystem
API.
public Boolean getIsIncidentLogsEnabled()
Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud
VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events
service notifications for guest VM issues, collect incident logs and traces, and use them to
diagnose issues and resolve them. Optionally enable incident logs collection while
provisioning a system. You can also disable or enable incident logs collection anytime using
the UpdateVmCluster
, updateCloudVmCluster
or updateDbsystem
API.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.