Class LogAnalyticsSource


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200601")
    public final class LogAnalyticsSource
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    LogAnalyticsSource
    Note: Objects should always be created or deserialized using the LogAnalyticsSource.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 LogAnalyticsSource.Builder, which maintain a set of all explicitly set fields called LogAnalyticsSource.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).

    • Method Detail

      • getAssociationCount

        public Integer getAssociationCount()
        The association count.
        Returns:
        the value
      • getDatabaseCredential

        public String getDatabaseCredential()
        The database credential.
        Returns:
        the value
      • getIsForCloud

        public Boolean getIsForCloud()
        A flag indicating whether or not this is a cloud source.
        Returns:
        the value
      • getMetricDefinitions

        public List<LogAnalyticsMetric> getMetricDefinitions()
        The metric definitions.
        Returns:
        the value
      • getOobParsers

        public List<LogAnalyticsParser> getOobParsers()
        The built in parsers associated with source.
        Returns:
        the value
      • getPatternCount

        public Integer getPatternCount()
        The pattern count.
        Returns:
        the value
      • getDescription

        public String getDescription()
        The source description.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The source display name.
        Returns:
        the value
      • getEditVersion

        public Long getEditVersion()
        The source edit version.
        Returns:
        the value
      • getSourceId

        public Long getSourceId()
        The source unique identifier.
        Returns:
        the value
      • getName

        public String getName()
        The source internal name.
        Returns:
        the value
      • getIsSecureContent

        public Boolean getIsSecureContent()
        A flag indicating whether or not the source content is secure.
        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
      • getParsers

        public List<LogAnalyticsParser> getParsers()
        The list of parsers used by the source.
        Returns:
        the value
      • getIsAutoAssociationEnabled

        public Boolean getIsAutoAssociationEnabled()
        A flag indicating whether or not the source is marked for auto-association.
        Returns:
        the value
      • getIsAutoAssociationOverride

        public Boolean getIsAutoAssociationOverride()
        A flag indicating whether or not the auto-association state should be overriden.
        Returns:
        the value
      • getRuleId

        public Long getRuleId()
        The rule unique identifier.
        Returns:
        the value
      • getTypeName

        public String getTypeName()
        The source type internal name.
        Returns:
        the value
      • getTypeDisplayName

        public String getTypeDisplayName()
        The source type name.
        Returns:
        the value
      • getWarningConfig

        public Long getWarningConfig()
        The source warning configuration.
        Returns:
        the value
      • getIsTimezoneOverride

        public Boolean getIsTimezoneOverride()
        A flag indicating whether or not the source has a time zone override.
        Returns:
        the value
      • getUserParsers

        public List<LogAnalyticsParser> getUserParsers()
        An array of custom parsers.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The last updated date.
        Returns:
        the value
      • getEventTypes

        public List<EventType> getEventTypes()
        An array of event types.
        Returns:
        the value
      • getCategories

        public List<LogAnalyticsCategory> getCategories()
        An array of categories assigned to this source.

        The isSystem flag denotes if each category assignment is user-created or Oracle-defined.

        Returns:
        the value
      • getEndpoints

        public List<LogAnalyticsEndpoint> getEndpoints()
        An array of REST API endpoints for log collection.
        Returns:
        the value
      • getSourceProperties

        public List<LogAnalyticsProperty> getSourceProperties()
        A list of source properties.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel