Class DataCollectionOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DataCollectionOptions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DataCollectionOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelIndicates 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 theDataCollectionOptions.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 theDataCollectionOptions.Builder, which maintain a set of all explicitly set fields calledDataCollectionOptions.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 classDataCollectionOptions.Builder
-
Constructor Summary
Constructors Constructor Description DataCollectionOptions(Boolean isDiagnosticsEventsEnabled, Boolean isHealthMonitoringEnabled, Boolean isIncidentLogsEnabled)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataCollectionOptions.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsDiagnosticsEventsEnabled()Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS.BooleangetIsHealthMonitoringEnabled()Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS.BooleangetIsIncidentLogsEnabled()Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS.inthashCode()DataCollectionOptions.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DataCollectionOptions
@Deprecated @ConstructorProperties({"isDiagnosticsEventsEnabled","isHealthMonitoringEnabled","isIncidentLogsEnabled"}) public DataCollectionOptions(Boolean isDiagnosticsEventsEnabled, Boolean isHealthMonitoringEnabled, Boolean isIncidentLogsEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static DataCollectionOptions.Builder builder()
Create a new builder.
-
toBuilder
public DataCollectionOptions.Builder toBuilder()
-
getIsDiagnosticsEventsEnabled
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.
- Returns:
- the value
-
getIsHealthMonitoringEnabled
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.
- Returns:
- the value
-
getIsIncidentLogsEnabled
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-