@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsSourceDataFilter extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
LogAnalyticsSourceDataFilter
Note: Objects should always be created or deserialized using the LogAnalyticsSourceDataFilter.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 LogAnalyticsSourceDataFilter.Builder
, which maintain a
set of all explicitly set fields called LogAnalyticsSourceDataFilter.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 |
LogAnalyticsSourceDataFilter.Builder |
static class |
LogAnalyticsSourceDataFilter.FilterType
The filter type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LogAnalyticsSourceDataFilter(String description,
String displayName,
Long editVersion,
Boolean isEnabled,
String fieldName,
Integer hashType,
Long dataFilterId,
Boolean isSystem,
String matchRegularExpression,
Long order,
String path,
String replacementString,
Long sourceId,
LogAnalyticsSourceDataFilter.FilterType filterType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LogAnalyticsSourceDataFilter.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getDataFilterId()
The filter unique identifier.
|
String |
getDescription()
The filter description.
|
String |
getDisplayName()
The filter display name.
|
Long |
getEditVersion()
The filter edit version.
|
String |
getFieldName()
The field internal name.
|
LogAnalyticsSourceDataFilter.FilterType |
getFilterType()
The filter type.
|
Integer |
getHashType()
The hash type.
|
Boolean |
getIsEnabled()
A flag inidcating whether or not the filter is enabled.
|
Boolean |
getIsSystem()
The system flag.
|
String |
getMatchRegularExpression()
The regular expression for matching.
|
Long |
getOrder()
The filter order.
|
String |
getPath()
The filter path.
|
String |
getReplacementString()
The replacement string.
|
Long |
getSourceId()
The source unique identifier.
|
int |
hashCode() |
LogAnalyticsSourceDataFilter.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"description","displayName","editVersion","isEnabled","fieldName","hashType","dataFilterId","isSystem","matchRegularExpression","order","path","replacementString","sourceId","filterType"}) public LogAnalyticsSourceDataFilter(String description, String displayName, Long editVersion, Boolean isEnabled, String fieldName, Integer hashType, Long dataFilterId, Boolean isSystem, String matchRegularExpression, Long order, String path, String replacementString, Long sourceId, LogAnalyticsSourceDataFilter.FilterType filterType)
public static LogAnalyticsSourceDataFilter.Builder builder()
Create a new builder.
public LogAnalyticsSourceDataFilter.Builder toBuilder()
public String getDescription()
The filter description.
public String getDisplayName()
The filter display name.
public Long getEditVersion()
The filter edit version.
public Boolean getIsEnabled()
A flag inidcating whether or not the filter is enabled.
public String getFieldName()
The field internal name.
public Integer getHashType()
The hash type.
public Long getDataFilterId()
The filter unique identifier.
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.
public String getMatchRegularExpression()
The regular expression for matching.
public Long getOrder()
The filter order.
public String getPath()
The filter path.
public String getReplacementString()
The replacement string.
public Long getSourceId()
The source unique identifier.
public LogAnalyticsSourceDataFilter.FilterType getFilterType()
The filter type.
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.