Class LogsProcessor

java.lang.Object
com.datadog.api.client.AbstractOpenApiSchema
com.datadog.api.client.v1.model.LogsProcessor

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsProcessor extends AbstractOpenApiSchema
  • Field Details

    • unparsed

      public boolean unparsed
    • schemas

      public static final Map<String,jakarta.ws.rs.core.GenericType> schemas
  • Constructor Details

  • Method Details

    • getSchemas

      public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
      Description copied from class: AbstractOpenApiSchema
      Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
      Specified by:
      getSchemas in class AbstractOpenApiSchema
      Returns:
      an instance of the actual schema/object
    • setActualInstance

      public void setActualInstance(Object instance)
      Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: LogsGrokParser, LogsDateRemapper, LogsStatusRemapper, LogsServiceRemapper, LogsMessageRemapper, LogsAttributeRemapper, LogsURLParser, LogsUserAgentParser, LogsCategoryProcessor, LogsArithmeticProcessor, LogsStringBuilderProcessor, LogsPipelineProcessor, LogsGeoIPParser, LogsLookupProcessor, ReferenceTableLogsLookupProcessor, LogsTraceRemapper, LogsSpanRemapper, LogsArrayProcessor, LogsDecoderProcessor, LogsSchemaProcessor, LogsExcludeAttributeProcessor, LogsArrayMapProcessor

      It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).

      Overrides:
      setActualInstance in class AbstractOpenApiSchema
      Parameters:
      instance - the actual instance of the schema/object
    • getActualInstance

      public Object getActualInstance()
      Get the actual instance, which can be the following: LogsGrokParser, LogsDateRemapper, LogsStatusRemapper, LogsServiceRemapper, LogsMessageRemapper, LogsAttributeRemapper, LogsURLParser, LogsUserAgentParser, LogsCategoryProcessor, LogsArithmeticProcessor, LogsStringBuilderProcessor, LogsPipelineProcessor, LogsGeoIPParser, LogsLookupProcessor, ReferenceTableLogsLookupProcessor, LogsTraceRemapper, LogsSpanRemapper, LogsArrayProcessor, LogsDecoderProcessor, LogsSchemaProcessor, LogsExcludeAttributeProcessor, LogsArrayMapProcessor
      Overrides:
      getActualInstance in class AbstractOpenApiSchema
      Returns:
      The actual instance (LogsGrokParser, LogsDateRemapper, LogsStatusRemapper, LogsServiceRemapper, LogsMessageRemapper, LogsAttributeRemapper, LogsURLParser, LogsUserAgentParser, LogsCategoryProcessor, LogsArithmeticProcessor, LogsStringBuilderProcessor, LogsPipelineProcessor, LogsGeoIPParser, LogsLookupProcessor, ReferenceTableLogsLookupProcessor, LogsTraceRemapper, LogsSpanRemapper, LogsArrayProcessor, LogsDecoderProcessor, LogsSchemaProcessor, LogsExcludeAttributeProcessor, LogsArrayMapProcessor)
    • getLogsGrokParser

      public LogsGrokParser getLogsGrokParser() throws ClassCastException
      Get the actual instance of `LogsGrokParser`. If the actual instance is not `LogsGrokParser`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsGrokParser`
      Throws:
      ClassCastException - if the instance is not `LogsGrokParser`
    • getLogsDateRemapper

      public LogsDateRemapper getLogsDateRemapper() throws ClassCastException
      Get the actual instance of `LogsDateRemapper`. If the actual instance is not `LogsDateRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsDateRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsDateRemapper`
    • getLogsStatusRemapper

      public LogsStatusRemapper getLogsStatusRemapper() throws ClassCastException
      Get the actual instance of `LogsStatusRemapper`. If the actual instance is not `LogsStatusRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsStatusRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsStatusRemapper`
    • getLogsServiceRemapper

      public LogsServiceRemapper getLogsServiceRemapper() throws ClassCastException
      Get the actual instance of `LogsServiceRemapper`. If the actual instance is not `LogsServiceRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsServiceRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsServiceRemapper`
    • getLogsMessageRemapper

      public LogsMessageRemapper getLogsMessageRemapper() throws ClassCastException
      Get the actual instance of `LogsMessageRemapper`. If the actual instance is not `LogsMessageRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsMessageRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsMessageRemapper`
    • getLogsAttributeRemapper

      public LogsAttributeRemapper getLogsAttributeRemapper() throws ClassCastException
      Get the actual instance of `LogsAttributeRemapper`. If the actual instance is not `LogsAttributeRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsAttributeRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsAttributeRemapper`
    • getLogsURLParser

      public LogsURLParser getLogsURLParser() throws ClassCastException
      Get the actual instance of `LogsURLParser`. If the actual instance is not `LogsURLParser`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsURLParser`
      Throws:
      ClassCastException - if the instance is not `LogsURLParser`
    • getLogsUserAgentParser

      public LogsUserAgentParser getLogsUserAgentParser() throws ClassCastException
      Get the actual instance of `LogsUserAgentParser`. If the actual instance is not `LogsUserAgentParser`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsUserAgentParser`
      Throws:
      ClassCastException - if the instance is not `LogsUserAgentParser`
    • getLogsCategoryProcessor

      public LogsCategoryProcessor getLogsCategoryProcessor() throws ClassCastException
      Get the actual instance of `LogsCategoryProcessor`. If the actual instance is not `LogsCategoryProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsCategoryProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsCategoryProcessor`
    • getLogsArithmeticProcessor

      public LogsArithmeticProcessor getLogsArithmeticProcessor() throws ClassCastException
      Get the actual instance of `LogsArithmeticProcessor`. If the actual instance is not `LogsArithmeticProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsArithmeticProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsArithmeticProcessor`
    • getLogsStringBuilderProcessor

      public LogsStringBuilderProcessor getLogsStringBuilderProcessor() throws ClassCastException
      Get the actual instance of `LogsStringBuilderProcessor`. If the actual instance is not `LogsStringBuilderProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsStringBuilderProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsStringBuilderProcessor`
    • getLogsPipelineProcessor

      public LogsPipelineProcessor getLogsPipelineProcessor() throws ClassCastException
      Get the actual instance of `LogsPipelineProcessor`. If the actual instance is not `LogsPipelineProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsPipelineProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsPipelineProcessor`
    • getLogsGeoIPParser

      public LogsGeoIPParser getLogsGeoIPParser() throws ClassCastException
      Get the actual instance of `LogsGeoIPParser`. If the actual instance is not `LogsGeoIPParser`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsGeoIPParser`
      Throws:
      ClassCastException - if the instance is not `LogsGeoIPParser`
    • getLogsLookupProcessor

      public LogsLookupProcessor getLogsLookupProcessor() throws ClassCastException
      Get the actual instance of `LogsLookupProcessor`. If the actual instance is not `LogsLookupProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsLookupProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsLookupProcessor`
    • getReferenceTableLogsLookupProcessor

      public ReferenceTableLogsLookupProcessor getReferenceTableLogsLookupProcessor() throws ClassCastException
      Get the actual instance of `ReferenceTableLogsLookupProcessor`. If the actual instance is not `ReferenceTableLogsLookupProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `ReferenceTableLogsLookupProcessor`
      Throws:
      ClassCastException - if the instance is not `ReferenceTableLogsLookupProcessor`
    • getLogsTraceRemapper

      public LogsTraceRemapper getLogsTraceRemapper() throws ClassCastException
      Get the actual instance of `LogsTraceRemapper`. If the actual instance is not `LogsTraceRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsTraceRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsTraceRemapper`
    • getLogsSpanRemapper

      public LogsSpanRemapper getLogsSpanRemapper() throws ClassCastException
      Get the actual instance of `LogsSpanRemapper`. If the actual instance is not `LogsSpanRemapper`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsSpanRemapper`
      Throws:
      ClassCastException - if the instance is not `LogsSpanRemapper`
    • getLogsArrayProcessor

      public LogsArrayProcessor getLogsArrayProcessor() throws ClassCastException
      Get the actual instance of `LogsArrayProcessor`. If the actual instance is not `LogsArrayProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsArrayProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsArrayProcessor`
    • getLogsDecoderProcessor

      public LogsDecoderProcessor getLogsDecoderProcessor() throws ClassCastException
      Get the actual instance of `LogsDecoderProcessor`. If the actual instance is not `LogsDecoderProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsDecoderProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsDecoderProcessor`
    • getLogsSchemaProcessor

      public LogsSchemaProcessor getLogsSchemaProcessor() throws ClassCastException
      Get the actual instance of `LogsSchemaProcessor`. If the actual instance is not `LogsSchemaProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsSchemaProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsSchemaProcessor`
    • getLogsExcludeAttributeProcessor

      public LogsExcludeAttributeProcessor getLogsExcludeAttributeProcessor() throws ClassCastException
      Get the actual instance of `LogsExcludeAttributeProcessor`. If the actual instance is not `LogsExcludeAttributeProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsExcludeAttributeProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsExcludeAttributeProcessor`
    • getLogsArrayMapProcessor

      public LogsArrayMapProcessor getLogsArrayMapProcessor() throws ClassCastException
      Get the actual instance of `LogsArrayMapProcessor`. If the actual instance is not `LogsArrayMapProcessor`, the ClassCastException will be thrown.
      Returns:
      The actual instance of `LogsArrayMapProcessor`
      Throws:
      ClassCastException - if the instance is not `LogsArrayMapProcessor`