Class LogAnalyticsLookup
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsLookup
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsLookup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
LogAnalyticsLookup
Note: Objects should always be created or deserialized using theLogAnalyticsLookup.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
LogAnalyticsLookup.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsLookup.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
LogAnalyticsLookup.Builder
static class
LogAnalyticsLookup.Type
The lookup type.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsLookup(Long activeEditVersion, String canonicalLink, String description, Long editVersion, List<LookupField> fields, Long lookupReference, String lookupReferenceString, LogAnalyticsLookup.Type type, String name, Long isBuiltIn, Boolean isHidden, String lookupDisplayName, AutoLookups referringSources, StatusSummary statusSummary, Date timeUpdated, List<LogAnalyticsCategory> categories)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsLookup.Builder
builder()
Create a new builder.boolean
equals(Object o)
Long
getActiveEditVersion()
The active edit version.String
getCanonicalLink()
The canonical link.List<LogAnalyticsCategory>
getCategories()
An array of categories assigned to this lookup.String
getDescription()
The lookup description.Long
getEditVersion()
The edit version.List<LookupField>
getFields()
The lookup fields.Long
getIsBuiltIn()
A flag indicating if the lookup is custom (user-defined) or built in.Boolean
getIsHidden()
A flag indicating if the lookup is hidden or not.String
getLookupDisplayName()
The lookup display name.Long
getLookupReference()
The lookup reference as an integer.String
getLookupReferenceString()
The lookup reference as a string.String
getName()
The lookup name.AutoLookups
getReferringSources()
StatusSummary
getStatusSummary()
Date
getTimeUpdated()
The last updated date.LogAnalyticsLookup.Type
getType()
The lookup type.int
hashCode()
LogAnalyticsLookup.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsLookup
@Deprecated @ConstructorProperties({"activeEditVersion","canonicalLink","description","editVersion","fields","lookupReference","lookupReferenceString","type","name","isBuiltIn","isHidden","lookupDisplayName","referringSources","statusSummary","timeUpdated","categories"}) public LogAnalyticsLookup(Long activeEditVersion, String canonicalLink, String description, Long editVersion, List<LookupField> fields, Long lookupReference, String lookupReferenceString, LogAnalyticsLookup.Type type, String name, Long isBuiltIn, Boolean isHidden, String lookupDisplayName, AutoLookups referringSources, StatusSummary statusSummary, Date timeUpdated, List<LogAnalyticsCategory> categories)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsLookup.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsLookup.Builder toBuilder()
-
getActiveEditVersion
public Long getActiveEditVersion()
The active edit version.- Returns:
- the value
-
getCanonicalLink
public String getCanonicalLink()
The canonical link.- Returns:
- the value
-
getDescription
public String getDescription()
The lookup description.- Returns:
- the value
-
getEditVersion
public Long getEditVersion()
The edit version.- Returns:
- the value
-
getFields
public List<LookupField> getFields()
The lookup fields.- Returns:
- the value
-
getLookupReference
public Long getLookupReference()
The lookup reference as an integer.- Returns:
- the value
-
getLookupReferenceString
public String getLookupReferenceString()
The lookup reference as a string.- Returns:
- the value
-
getType
public LogAnalyticsLookup.Type getType()
The lookup type.Valid values are Lookup, Dictionary or Module.
- Returns:
- the value
-
getName
public String getName()
The lookup name.- Returns:
- the value
-
getIsBuiltIn
public Long getIsBuiltIn()
A flag indicating if the lookup is custom (user-defined) or built in.- Returns:
- the value
-
getIsHidden
public Boolean getIsHidden()
A flag indicating if the lookup is hidden or not.A hidden lookup will not be returned in list operations by default.
- Returns:
- the value
-
getLookupDisplayName
public String getLookupDisplayName()
The lookup display name.- Returns:
- the value
-
getReferringSources
public AutoLookups getReferringSources()
-
getStatusSummary
public StatusSummary getStatusSummary()
-
getTimeUpdated
public Date getTimeUpdated()
The last updated date.- Returns:
- the value
-
getCategories
public List<LogAnalyticsCategory> getCategories()
An array of categories assigned to this lookup.The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
- 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
-
-