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 DataSourceEventInfoInformation 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 classLoggingEventInfo.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetLogResult()Log result details of DataSource for a ProblemStringgetObservedValue()Observed value of DataSource for a ProblemStringgetOperator()Operator details of DataSource for a ProblemStringgetTriggerValue()Triggered value of DataSource for a ProbleminthashCode()LoggingEventInfo.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classDataSourceEventInfo
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDataSourceEventInfo- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDataSourceEventInfo
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDataSourceEventInfo
-
-