Class LogAnalyticsSourcePattern
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsSourcePattern
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsSourcePattern extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
LogAnalyticsSourcePattern
Note: Objects should always be created or deserialized using theLogAnalyticsSourcePattern.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
LogAnalyticsSourcePattern.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsSourcePattern.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
LogAnalyticsSourcePattern.Builder
-
Constructor Summary
Constructors Constructor Description LogAnalyticsSourcePattern(String convertedText, Long dbParserId, String dbPatternDateTimeColumns, String dbPatternDateTimeField, String dbPatternSequenceColumn, List<LogAnalyticsParserField> fields, Boolean isInclude, Boolean isDefault, LogAnalyticsPatternFilter patternFilter, String alias, String description, Boolean isEnabled, Long patternId, Boolean isSystem, Long sourceId, Boolean isAgentWarningSuppressed, String patternText, Long patternType, List<String> entityType, List<LogAnalyticsProperty> patternProperties)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsSourcePattern.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAlias()
The source pattern alias.String
getConvertedText()
The converted text.Long
getDbParserId()
The parser unique identifier.String
getDbPatternDateTimeColumns()
The date time columns.String
getDbPatternDateTimeField()
The date time field.String
getDbPatternSequenceColumn()
The sequence column.String
getDescription()
The source pattern description.List<String>
getEntityType()
The source entity type.List<LogAnalyticsParserField>
getFields()
The parser field list.Boolean
getIsAgentWarningSuppressed()
A flag indicating whether or not agent warnings are suppressed for this source pattern.Boolean
getIsDefault()
A flag indicating if this is the default source pattern.Boolean
getIsEnabled()
A flag inidcating whether or not the source pattern is enabled.Boolean
getIsInclude()
A flag indicating if this is source pattern is included.Boolean
getIsSystem()
The system flag.LogAnalyticsPatternFilter
getPatternFilter()
Long
getPatternId()
The source pattern unique identifier.List<LogAnalyticsProperty>
getPatternProperties()
A list of pattern properties.String
getPatternText()
The pattern text.Long
getPatternType()
The pattern type.Long
getSourceId()
The source unique identifier.int
hashCode()
LogAnalyticsSourcePattern.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsSourcePattern
@Deprecated @ConstructorProperties({"convertedText","dbParserId","dbPatternDateTimeColumns","dbPatternDateTimeField","dbPatternSequenceColumn","fields","isInclude","isDefault","patternFilter","alias","description","isEnabled","patternId","isSystem","sourceId","isAgentWarningSuppressed","patternText","patternType","entityType","patternProperties"}) public LogAnalyticsSourcePattern(String convertedText, Long dbParserId, String dbPatternDateTimeColumns, String dbPatternDateTimeField, String dbPatternSequenceColumn, List<LogAnalyticsParserField> fields, Boolean isInclude, Boolean isDefault, LogAnalyticsPatternFilter patternFilter, String alias, String description, Boolean isEnabled, Long patternId, Boolean isSystem, Long sourceId, Boolean isAgentWarningSuppressed, String patternText, Long patternType, List<String> entityType, List<LogAnalyticsProperty> patternProperties)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsSourcePattern.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsSourcePattern.Builder toBuilder()
-
getConvertedText
public String getConvertedText()
The converted text.- Returns:
- the value
-
getDbParserId
public Long getDbParserId()
The parser unique identifier.- Returns:
- the value
-
getDbPatternDateTimeColumns
public String getDbPatternDateTimeColumns()
The date time columns.- Returns:
- the value
-
getDbPatternDateTimeField
public String getDbPatternDateTimeField()
The date time field.- Returns:
- the value
-
getDbPatternSequenceColumn
public String getDbPatternSequenceColumn()
The sequence column.- Returns:
- the value
-
getFields
public List<LogAnalyticsParserField> getFields()
The parser field list.- Returns:
- the value
-
getIsInclude
public Boolean getIsInclude()
A flag indicating if this is source pattern is included.- Returns:
- the value
-
getIsDefault
public Boolean getIsDefault()
A flag indicating if this is the default source pattern.- Returns:
- the value
-
getPatternFilter
public LogAnalyticsPatternFilter getPatternFilter()
-
getAlias
public String getAlias()
The source pattern alias.- Returns:
- the value
-
getDescription
public String getDescription()
The source pattern description.- Returns:
- the value
-
getIsEnabled
public Boolean getIsEnabled()
A flag inidcating whether or not the source pattern is enabled.- Returns:
- the value
-
getPatternId
public Long getPatternId()
The source pattern unique identifier.- Returns:
- the value
-
getIsSystem
public Boolean getIsSystem()
The system flag.A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Returns:
- the value
-
getSourceId
public Long getSourceId()
The source unique identifier.- Returns:
- the value
-
getIsAgentWarningSuppressed
public Boolean getIsAgentWarningSuppressed()
A flag indicating whether or not agent warnings are suppressed for this source pattern.- Returns:
- the value
-
getPatternText
public String getPatternText()
The pattern text.- Returns:
- the value
-
getPatternType
public Long getPatternType()
The pattern type.- Returns:
- the value
-
getPatternProperties
public List<LogAnalyticsProperty> getPatternProperties()
A list of pattern properties.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-