Class ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>>

java.lang.Object
org.apache.logging.log4j.core.layout.AbstractLayout.Builder<B>
org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B>
org.elasticsearch.common.logging.ESJsonLayout.Builder<B>
All Implemented Interfaces:
org.apache.logging.log4j.core.util.Builder<ESJsonLayout>
Enclosing class:
ESJsonLayout

public static class ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>> extends org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B> implements org.apache.logging.log4j.core.util.Builder<ESJsonLayout>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public ESJsonLayout build()
      Specified by:
      build in interface org.apache.logging.log4j.core.util.Builder<B extends ESJsonLayout.Builder<B>>
    • getCharset

      public Charset getCharset()
      Overrides:
      getCharset in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B extends ESJsonLayout.Builder<B>>
    • setCharset

      public B setCharset(Charset charset)
      Overrides:
      setCharset in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B extends ESJsonLayout.Builder<B>>
    • getType

      public String getType()
    • setType

      public B setType(String type)
    • getESMessageFields

      public String getESMessageFields()
    • setESMessageFields

      public B setESMessageFields(String esmessagefields)