Class Processor

java.lang.Object
software.amazon.awssdk.services.cloudwatchlogs.model.Processor
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<Processor.Builder,Processor>

@Generated("software.amazon.awssdk:codegen") public final class Processor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Processor.Builder,Processor>

This structure contains the information about one processor in a log transformer.

See Also:
  • Method Details

    • addKeys

      public final AddKeys addKeys()

      Use this parameter to include the addKeys processor in your transformer.

      Returns:
      Use this parameter to include the addKeys processor in your transformer.
    • copyValue

      public final CopyValue copyValue()

      Use this parameter to include the copyValue processor in your transformer.

      Returns:
      Use this parameter to include the copyValue processor in your transformer.
    • csv

      public final CSV csv()

      Use this parameter to include the CSV processor in your transformer.

      Returns:
      Use this parameter to include the CSV processor in your transformer.
    • dateTimeConverter

      public final DateTimeConverter dateTimeConverter()

      Use this parameter to include the datetimeConverter processor in your transformer.

      Returns:
      Use this parameter to include the datetimeConverter processor in your transformer.
    • deleteKeys

      public final DeleteKeys deleteKeys()

      Use this parameter to include the deleteKeys processor in your transformer.

      Returns:
      Use this parameter to include the deleteKeys processor in your transformer.
    • grok

      public final Grok grok()

      Use this parameter to include the grok processor in your transformer.

      Returns:
      Use this parameter to include the grok processor in your transformer.
    • listToMap

      public final ListToMap listToMap()

      Use this parameter to include the listToMap processor in your transformer.

      Returns:
      Use this parameter to include the listToMap processor in your transformer.
    • lowerCaseString

      public final LowerCaseString lowerCaseString()

      Use this parameter to include the lowerCaseString processor in your transformer.

      Returns:
      Use this parameter to include the lowerCaseString processor in your transformer.
    • moveKeys

      public final MoveKeys moveKeys()

      Use this parameter to include the moveKeys processor in your transformer.

      Returns:
      Use this parameter to include the moveKeys processor in your transformer.
    • parseCloudfront

      public final ParseCloudfront parseCloudfront()

      Use this parameter to include the parseCloudfront processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

      Returns:
      Use this parameter to include the parseCloudfront processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

    • parseJSON

      public final ParseJSON parseJSON()

      Use this parameter to include the parseJSON processor in your transformer.

      Returns:
      Use this parameter to include the parseJSON processor in your transformer.
    • parseKeyValue

      public final ParseKeyValue parseKeyValue()

      Use this parameter to include the parseKeyValue processor in your transformer.

      Returns:
      Use this parameter to include the parseKeyValue processor in your transformer.
    • parseRoute53

      public final ParseRoute53 parseRoute53()

      Use this parameter to include the parseRoute53 processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

      Returns:
      Use this parameter to include the parseRoute53 processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

    • parseToOCSF

      public final ParseToOCSF parseToOCSF()

      Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format.

      Returns:
      Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format.
    • parsePostgres

      public final ParsePostgres parsePostgres()

      Use this parameter to include the parsePostGres processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

      Returns:
      Use this parameter to include the parsePostGres processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

    • parseVPC

      public final ParseVPC parseVPC()

      Use this parameter to include the parseVPC processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

      Returns:
      Use this parameter to include the parseVPC processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

    • parseWAF

      public final ParseWAF parseWAF()

      Use this parameter to include the parseWAF processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

      Returns:
      Use this parameter to include the parseWAF processor in your transformer.

      If you use this processor, it must be the first processor in your transformer.

    • renameKeys

      public final RenameKeys renameKeys()

      Use this parameter to include the renameKeys processor in your transformer.

      Returns:
      Use this parameter to include the renameKeys processor in your transformer.
    • splitString

      public final SplitString splitString()

      Use this parameter to include the splitString processor in your transformer.

      Returns:
      Use this parameter to include the splitString processor in your transformer.
    • substituteString

      public final SubstituteString substituteString()

      Use this parameter to include the substituteString processor in your transformer.

      Returns:
      Use this parameter to include the substituteString processor in your transformer.
    • trimString

      public final TrimString trimString()

      Use this parameter to include the trimString processor in your transformer.

      Returns:
      Use this parameter to include the trimString processor in your transformer.
    • typeConverter

      public final TypeConverter typeConverter()

      Use this parameter to include the typeConverter processor in your transformer.

      Returns:
      Use this parameter to include the typeConverter processor in your transformer.
    • upperCaseString

      public final UpperCaseString upperCaseString()

      Use this parameter to include the upperCaseString processor in your transformer.

      Returns:
      Use this parameter to include the upperCaseString processor in your transformer.
    • toBuilder

      public Processor.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<Processor.Builder,Processor>
      Returns:
      a builder for type T
    • builder

      public static Processor.Builder builder()
    • serializableBuilderClass

      public static Class<? extends Processor.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.