@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class UpsertLogAnalyticsSourceDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
UpsertLogAnalyticsSourceDetails
Note: Objects should always be created or deserialized using the UpsertLogAnalyticsSourceDetails.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 called UpsertLogAnalyticsSourceDetails.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 |
UpsertLogAnalyticsSourceDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Modifier and Type | Method and Description |
---|---|
static UpsertLogAnalyticsSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<LogAnalyticsCategory> |
getCategories()
An array of categories to assign to the source.
|
String |
getDatabaseCredential()
The database credential name.
|
List<LogAnalyticsSourceDataFilter> |
getDataFilterDefinitions()
An array of 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()
An array of entity types.
|
List<LogAnalyticsSourceExtendedFieldDefinition> |
getExtendedFieldDefinitions()
An array of extended field definitions.
|
List<LogAnalyticsSourceFunction> |
getFunctions()
An array of source functions.
|
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()
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.
|
String |
getName()
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.
|
Long |
getRuleId()
The rule unique identifier.
|
Long |
getSourceId()
The source unique identifier.
|
List<LogAnalyticsProperty> |
getSourceProperties()
A list of source properties.
|
String |
getTypeName()
The source type internal name.
|
List<LogAnalyticsParser> |
getUserParsers()
An array of custom parsers.
|
Long |
getWarningConfig()
The source warning configuration.
|
int |
hashCode() |
UpsertLogAnalyticsSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static UpsertLogAnalyticsSourceDetails.Builder builder()
Create a new builder.
public UpsertLogAnalyticsSourceDetails.Builder toBuilder()
public List<LogAnalyticsSourceLabelCondition> getLabelConditions()
An array of source label conditions.
public List<LogAnalyticsSourceDataFilter> getDataFilterDefinitions()
An array of data filter definitions.
public String getDatabaseCredential()
The database credential name.
public List<LogAnalyticsSourceExtendedFieldDefinition> getExtendedFieldDefinitions()
An array of extended field definitions.
public Boolean getIsForCloud()
A flag indicating whether or not this is a cloud source.
public List<LogAnalyticsLabelView> getLabels()
An array of labels.
public List<LogAnalyticsMetric> getMetricDefinitions()
An array of metric definitions.
public List<LogAnalyticsSourceMetric> getMetrics()
An array of metrics.
public List<LogAnalyticsParser> getOobParsers()
An array of built in source parsers.
public List<LogAnalyticsParameter> getParameters()
An array of parameters.
public List<LogAnalyticsSourcePattern> getPatterns()
An array of patterns.
public String getDescription()
The source description.
public String getDisplayName()
The source display name.
public Long getEditVersion()
The source edit version.
public List<LogAnalyticsSourceFunction> getFunctions()
An array of source functions.
public Long getSourceId()
The source unique identifier.
public String getName()
The source internal name.
public Boolean getIsSecureContent()
A flag indicating whether or not the source content is secure.
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 List<LogAnalyticsParser> getParsers()
An array of parser.
public Long getRuleId()
The rule unique identifier.
public String getTypeName()
The source type internal name.
public Long getWarningConfig()
The source warning configuration.
public List<LogAnalyticsSourceMetadataField> getMetadataFields()
An array of source metadata fields.
public List<LogAnalyticsLabelDefinition> getLabelDefinitions()
An array of labels.
public List<LogAnalyticsSourceEntityType> getEntityTypes()
An array of entity types.
public Boolean getIsTimezoneOverride()
A flag indicating whether or not the source has a time zone override.
public List<LogAnalyticsParser> getUserParsers()
An array of custom parsers.
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.
public List<LogAnalyticsEndpoint> getEndpoints()
An array of REST API endpoints for log collection.
public List<LogAnalyticsProperty> getSourceProperties()
A list of source properties.
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.