Package com.oracle.bmc.cloudguard.model
Class LoggingEventInfo
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.DataSourceEventInfo
-
- com.oracle.bmc.cloudguard.model.LoggingEventInfo
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class LoggingEventInfo extends DataSourceEventInfo
Information for a logging event for a data source.
Note: Objects should always be created or deserialized using theLoggingEventInfo.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 theLoggingEventInfo.Builder
, which maintain a set of all explicitly set fields calledLoggingEventInfo.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
LoggingEventInfo.Builder
-
Constructor Summary
Constructors Constructor Description LoggingEventInfo(String observedValue, String triggerValue, String operator, String logResult)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingEventInfo.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getLogResult()
Log result details of DataSource for a ProblemString
getObservedValue()
Observed value of DataSource for a ProblemString
getOperator()
Operator details of DataSource for a ProblemString
getTriggerValue()
Triggered value of DataSource for a Problemint
hashCode()
LoggingEventInfo.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LoggingEventInfo
@Deprecated public LoggingEventInfo(String observedValue, String triggerValue, String operator, String logResult)
Deprecated.
-
-
Method Detail
-
builder
public static LoggingEventInfo.Builder builder()
Create a new builder.
-
toBuilder
public LoggingEventInfo.Builder toBuilder()
-
getObservedValue
public String getObservedValue()
Observed value of DataSource for a Problem- Returns:
- the value
-
getTriggerValue
public String getTriggerValue()
Triggered value of DataSource for a Problem- Returns:
- the value
-
getOperator
public String getOperator()
Operator details of DataSource for a Problem- Returns:
- the value
-
getLogResult
public String getLogResult()
Log result details of DataSource for a Problem- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classDataSourceEventInfo
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classDataSourceEventInfo
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDataSourceEventInfo
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDataSourceEventInfo
-
-