Class LambdaAppender.Builder<B extends LambdaAppender.Builder<B>>

java.lang.Object
org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B>
org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B>
com.amazonaws.services.lambda.runtime.log4j2.LambdaAppender.Builder<B>
Type Parameters:
B - Generic Builder class
All Implemented Interfaces:
org.apache.logging.log4j.core.util.Builder<LambdaAppender>
Enclosing class:
LambdaAppender

public static class LambdaAppender.Builder<B extends LambdaAppender.Builder<B>> extends org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B> implements org.apache.logging.log4j.core.util.Builder<LambdaAppender>
Builder class that follows log4j2 plugin convention
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    creates a new LambdaAppender

    Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender.Builder

    getConfiguration, getErrorPrefix, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName

    Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder

    asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.logging.log4j.core.util.Builder

    getErrorPrefix, isValid
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public LambdaAppender build()
      creates a new LambdaAppender
      Specified by:
      build in interface org.apache.logging.log4j.core.util.Builder<B extends LambdaAppender.Builder<B>>
      Returns:
      a new LambdaAppender