Class UpsertLogAnalyticsSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.UpsertLogAnalyticsSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class UpsertLogAnalyticsSourceDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelUpsertLogAnalyticsSourceDetails
Note: Objects should always be created or deserialized using theUpsertLogAnalyticsSourceDetails.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
UpsertLogAnalyticsSourceDetails.Builder, which maintain a set of all explicitly set fields calledUpsertLogAnalyticsSourceDetails.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 classUpsertLogAnalyticsSourceDetails.Builder
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpsertLogAnalyticsSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<LogAnalyticsCategory>getCategories()An array of categories to assign to the source.StringgetDatabaseCredential()The database credential name.List<LogAnalyticsSourceDataFilter>getDataFilterDefinitions()An array of data filter definitions.StringgetDescription()The source description.StringgetDisplayName()The source display name.LonggetEditVersion()The source edit version.List<LogAnalyticsEndpoint>getEndpoints()An array of REST API endpoints for log collection.List<LogAnalyticsSourceEntityType>getEntityTypes()An array of entity types.List<LogAnalyticsSourceExtendedFieldDefinition>getExtendedFieldDefinitions()An array of extended field definitions.List<LogAnalyticsSourceFunction>getFunctions()An array of source functions.BooleangetIsForCloud()A flag indicating whether or not this is a cloud source.BooleangetIsSecureContent()A flag indicating whether or not the source content is secure.BooleangetIsSystem()The system flag.BooleangetIsTimezoneOverride()A flag indicating whether or not the source has a time zone override.List<LogAnalyticsSourceLabelCondition>getLabelConditions()An array of source label conditions.List<LogAnalyticsLabelDefinition>getLabelDefinitions()An array of labels.List<LogAnalyticsLabelView>getLabels()An array of labels.List<LogAnalyticsSourceMetadataField>getMetadataFields()An array of source metadata fields.List<LogAnalyticsMetric>getMetricDefinitions()An array of metric definitions.List<LogAnalyticsSourceMetric>getMetrics()An array of metrics.StringgetName()The source internal name.List<LogAnalyticsParser>getOobParsers()An array of built in source parsers.List<LogAnalyticsParameter>getParameters()An array of parameters.List<LogAnalyticsParser>getParsers()An array of parser.List<LogAnalyticsSourcePattern>getPatterns()An array of patterns.LonggetRuleId()The rule unique identifier.LonggetSourceId()The source unique identifier.List<LogAnalyticsProperty>getSourceProperties()A list of source properties.StringgetTypeName()The source type internal name.List<LogAnalyticsParser>getUserParsers()An array of custom parsers.LonggetWarningConfig()The source warning configuration.inthashCode()UpsertLogAnalyticsSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpsertLogAnalyticsSourceDetails
@Deprecated @ConstructorProperties({"labelConditions","dataFilterDefinitions","databaseCredential","extendedFieldDefinitions","isForCloud","labels","metricDefinitions","metrics","oobParsers","parameters","patterns","description","displayName","editVersion","functions","sourceId","name","isSecureContent","isSystem","parsers","ruleId","typeName","warningConfig","metadataFields","labelDefinitions","entityTypes","isTimezoneOverride","userParsers","categories","endpoints","sourceProperties"}) public UpsertLogAnalyticsSourceDetails(List<LogAnalyticsSourceLabelCondition> labelConditions, 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, List<LogAnalyticsSourcePattern> patterns, String description, String displayName, Long editVersion, List<LogAnalyticsSourceFunction> functions, Long sourceId, String name, Boolean isSecureContent, Boolean isSystem, List<LogAnalyticsParser> parsers, Long ruleId, String typeName, Long warningConfig, List<LogAnalyticsSourceMetadataField> metadataFields, List<LogAnalyticsLabelDefinition> labelDefinitions, List<LogAnalyticsSourceEntityType> entityTypes, Boolean isTimezoneOverride, List<LogAnalyticsParser> userParsers, List<LogAnalyticsCategory> categories, List<LogAnalyticsEndpoint> endpoints, List<LogAnalyticsProperty> sourceProperties)
Deprecated.
-
-
Method Detail
-
builder
public static UpsertLogAnalyticsSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpsertLogAnalyticsSourceDetails.Builder toBuilder()
-
getLabelConditions
public List<LogAnalyticsSourceLabelCondition> getLabelConditions()
An array of source label conditions.- Returns:
- the value
-
getDataFilterDefinitions
public List<LogAnalyticsSourceDataFilter> getDataFilterDefinitions()
An array of data filter definitions.- Returns:
- the value
-
getDatabaseCredential
public String getDatabaseCredential()
The database credential name.- Returns:
- the value
-
getExtendedFieldDefinitions
public List<LogAnalyticsSourceExtendedFieldDefinition> getExtendedFieldDefinitions()
An array of 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()
An array of labels.- Returns:
- the value
-
getMetricDefinitions
public List<LogAnalyticsMetric> getMetricDefinitions()
An array of metric definitions.- Returns:
- the value
-
getMetrics
public List<LogAnalyticsSourceMetric> getMetrics()
An array of metrics.- Returns:
- the value
-
getOobParsers
public List<LogAnalyticsParser> getOobParsers()
An array of built in source parsers.- Returns:
- the value
-
getParameters
public List<LogAnalyticsParameter> getParameters()
An array of parameters.- Returns:
- the value
-
getPatterns
public List<LogAnalyticsSourcePattern> getPatterns()
An array of 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()
An array of 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()
An array of parser.- 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
-
getWarningConfig
public Long getWarningConfig()
The source warning configuration.- Returns:
- the value
-
getMetadataFields
public List<LogAnalyticsSourceMetadataField> getMetadataFields()
An array of source metadata fields.- Returns:
- the value
-
getLabelDefinitions
public List<LogAnalyticsLabelDefinition> getLabelDefinitions()
An array of labels.- Returns:
- the value
-
getEntityTypes
public List<LogAnalyticsSourceEntityType> getEntityTypes()
An array of 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
-
getCategories
public List<LogAnalyticsCategory> getCategories()
An array of categories to assign to the source.Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
- 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-