Class LogAnalyticsSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.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 theLogAnalyticsSource.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 calledLogAnalyticsSource.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
LogAnalyticsSource.Builder
-
Constructor Summary
Constructors Constructor Description LogAnalyticsSource(List<LogAnalyticsSourceLabelCondition> labelConditions, Integer associationCount, List<LogAnalyticsAssociation> associationEntity, List<LogAnalyticsSourceDataFilter> dataFilterDefinitions, String databaseCredential, List<LogAnalyticsSourceExtendedFieldDefinition> extendedFieldDefinitions, Boolean isForCloud, List<LogAnalyticsLabelView> labels, List<LogAnalyticsMetric> metricDefinitions, List<LogAnalyticsSourceMetric> metrics, List<LogAnalyticsParser> oobParsers, List<LogAnalyticsParameter> parameters, Integer patternCount, List<LogAnalyticsSourcePattern> patterns, String description, String displayName, Long editVersion, List<LogAnalyticsSourceFunction> functions, Long sourceId, String name, Boolean isSecureContent, Boolean isSystem, List<LogAnalyticsParser> parsers, Boolean isAutoAssociationEnabled, Boolean isAutoAssociationOverride, Long ruleId, String typeName, String typeDisplayName, Long warningConfig, List<LogAnalyticsSourceMetadataField> metadataFields, List<LogAnalyticsLabelDefinition> labelDefinitions, List<LogAnalyticsSourceEntityType> entityTypes, Boolean isTimezoneOverride, List<LogAnalyticsParser> userParsers, Date timeUpdated, List<EventType> eventTypes, List<LogAnalyticsCategory> categories, List<LogAnalyticsEndpoint> endpoints, List<LogAnalyticsProperty> sourceProperties)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsSource.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getAssociationCount()
The association count.List<LogAnalyticsAssociation>
getAssociationEntity()
The association entities.List<LogAnalyticsCategory>
getCategories()
An array of categories assigned to this source.String
getDatabaseCredential()
The database credential.List<LogAnalyticsSourceDataFilter>
getDataFilterDefinitions()
The data filter definitions.String
getDescription()
The source description.String
getDisplayName()
The source display name.Long
getEditVersion()
The source edit version.List<LogAnalyticsEndpoint>
getEndpoints()
An array of REST API endpoints for log collection.List<LogAnalyticsSourceEntityType>
getEntityTypes()
The entity types.List<EventType>
getEventTypes()
An array of event types.List<LogAnalyticsSourceExtendedFieldDefinition>
getExtendedFieldDefinitions()
The extended field definitions.List<LogAnalyticsSourceFunction>
getFunctions()
The source functions.Boolean
getIsAutoAssociationEnabled()
A flag indicating whether or not the source is marked for auto-association.Boolean
getIsAutoAssociationOverride()
A flag indicating whether or not the auto-association state should be overriden.Boolean
getIsForCloud()
A flag indicating whether or not this is a cloud source.Boolean
getIsSecureContent()
A flag indicating whether or not the source content is secure.Boolean
getIsSystem()
The system flag.Boolean
getIsTimezoneOverride()
A flag indicating whether or not the source has a time zone override.List<LogAnalyticsSourceLabelCondition>
getLabelConditions()
The label alert conditions.List<LogAnalyticsLabelDefinition>
getLabelDefinitions()
The labls used by the source.List<LogAnalyticsLabelView>
getLabels()
The labels associated with the source.List<LogAnalyticsSourceMetadataField>
getMetadataFields()
The source metadata fields.List<LogAnalyticsMetric>
getMetricDefinitions()
The metric definitions.List<LogAnalyticsSourceMetric>
getMetrics()
The metric source map.String
getName()
The source internal name.List<LogAnalyticsParser>
getOobParsers()
The built in parsers associated with source.List<LogAnalyticsParameter>
getParameters()
The source parameters.List<LogAnalyticsParser>
getParsers()
The list of parsers used by the source.Integer
getPatternCount()
The pattern count.List<LogAnalyticsSourcePattern>
getPatterns()
The source patterns.Long
getRuleId()
The rule unique identifier.Long
getSourceId()
The source unique identifier.List<LogAnalyticsProperty>
getSourceProperties()
A list of source properties.Date
getTimeUpdated()
The last updated date.String
getTypeDisplayName()
The source type name.String
getTypeName()
The source type internal name.List<LogAnalyticsParser>
getUserParsers()
An array of custom parsers.Long
getWarningConfig()
The source warning configuration.int
hashCode()
LogAnalyticsSource.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsSource
@Deprecated @ConstructorProperties({"labelConditions","associationCount","associationEntity","dataFilterDefinitions","databaseCredential","extendedFieldDefinitions","isForCloud","labels","metricDefinitions","metrics","oobParsers","parameters","patternCount","patterns","description","displayName","editVersion","functions","sourceId","name","isSecureContent","isSystem","parsers","isAutoAssociationEnabled","isAutoAssociationOverride","ruleId","typeName","typeDisplayName","warningConfig","metadataFields","labelDefinitions","entityTypes","isTimezoneOverride","userParsers","timeUpdated","eventTypes","categories","endpoints","sourceProperties"}) public LogAnalyticsSource(List<LogAnalyticsSourceLabelCondition> labelConditions, Integer associationCount, List<LogAnalyticsAssociation> associationEntity, List<LogAnalyticsSourceDataFilter> dataFilterDefinitions, String databaseCredential, List<LogAnalyticsSourceExtendedFieldDefinition> extendedFieldDefinitions, Boolean isForCloud, List<LogAnalyticsLabelView> labels, List<LogAnalyticsMetric> metricDefinitions, List<LogAnalyticsSourceMetric> metrics, List<LogAnalyticsParser> oobParsers, List<LogAnalyticsParameter> parameters, Integer patternCount, List<LogAnalyticsSourcePattern> patterns, String description, String displayName, Long editVersion, List<LogAnalyticsSourceFunction> functions, Long sourceId, String name, Boolean isSecureContent, Boolean isSystem, List<LogAnalyticsParser> parsers, Boolean isAutoAssociationEnabled, Boolean isAutoAssociationOverride, Long ruleId, String typeName, String typeDisplayName, Long warningConfig, List<LogAnalyticsSourceMetadataField> metadataFields, List<LogAnalyticsLabelDefinition> labelDefinitions, List<LogAnalyticsSourceEntityType> entityTypes, Boolean isTimezoneOverride, List<LogAnalyticsParser> userParsers, Date timeUpdated, List<EventType> eventTypes, List<LogAnalyticsCategory> categories, List<LogAnalyticsEndpoint> endpoints, List<LogAnalyticsProperty> sourceProperties)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsSource.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsSource.Builder toBuilder()
-
getLabelConditions
public List<LogAnalyticsSourceLabelCondition> getLabelConditions()
The label alert conditions.- Returns:
- the value
-
getAssociationCount
public Integer getAssociationCount()
The association count.- Returns:
- the value
-
getAssociationEntity
public List<LogAnalyticsAssociation> getAssociationEntity()
The association entities.- Returns:
- the value
-
getDataFilterDefinitions
public List<LogAnalyticsSourceDataFilter> getDataFilterDefinitions()
The data filter definitions.- Returns:
- the value
-
getDatabaseCredential
public String getDatabaseCredential()
The database credential.- Returns:
- the value
-
getExtendedFieldDefinitions
public List<LogAnalyticsSourceExtendedFieldDefinition> getExtendedFieldDefinitions()
The extended field definitions.- Returns:
- the value
-
getIsForCloud
public Boolean getIsForCloud()
A flag indicating whether or not this is a cloud source.- Returns:
- the value
-
getLabels
public List<LogAnalyticsLabelView> getLabels()
The labels associated with the source.- Returns:
- the value
-
getMetricDefinitions
public List<LogAnalyticsMetric> getMetricDefinitions()
The metric definitions.- Returns:
- the value
-
getMetrics
public List<LogAnalyticsSourceMetric> getMetrics()
The metric source map.- Returns:
- the value
-
getOobParsers
public List<LogAnalyticsParser> getOobParsers()
The built in parsers associated with source.- Returns:
- the value
-
getParameters
public List<LogAnalyticsParameter> getParameters()
The source parameters.- Returns:
- the value
-
getPatternCount
public Integer getPatternCount()
The pattern count.- Returns:
- the value
-
getPatterns
public List<LogAnalyticsSourcePattern> getPatterns()
The source patterns.- 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
-
getFunctions
public List<LogAnalyticsSourceFunction> getFunctions()
The source functions.- 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
-
getMetadataFields
public List<LogAnalyticsSourceMetadataField> getMetadataFields()
The source metadata fields.- Returns:
- the value
-
getLabelDefinitions
public List<LogAnalyticsLabelDefinition> getLabelDefinitions()
The labls used by the source.- Returns:
- the value
-
getEntityTypes
public List<LogAnalyticsSourceEntityType> getEntityTypes()
The entity types.- 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
-
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 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
-
-