Class OpensearchEndpointBuilderFactory.OpensearchHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.OpensearchEndpointBuilderFactory.OpensearchHeaderNameBuilder
Enclosing interface:
OpensearchEndpointBuilderFactory

public static class OpensearchEndpointBuilderFactory.OpensearchHeaderNameBuilder extends Object
The builder of headers' name for the OpenSearch component.
  • Constructor Details

    • OpensearchHeaderNameBuilder

      public OpensearchHeaderNameBuilder()
  • Method Details

    • operation

      public String operation()
      The operation to perform. The option is a: org.apache.camel.component.opensearch.OpensearchOperation type. Group: producer
      Returns:
      the name of the header operation.
    • indexId

      public String indexId()
      The id of the indexed document. The option is a: String type. Group: producer
      Returns:
      the name of the header indexId.
    • indexName

      public String indexName()
      The name of the index to act against. The option is a: String type. Group: producer
      Returns:
      the name of the header indexName.
    • documentClass

      public String documentClass()
      The full qualified name of the class of the document to unmarshall. The option is a: Class type. Default: ObjectNode Group: producer
      Returns:
      the name of the header documentClass.
    • waitForActiveShards

      public String waitForActiveShards()
      The index creation waits for the write consistency number of shards to be available. The option is a: Integer type. Group: producer
      Returns:
      the name of the header waitForActiveShards.
    • scrollKeepAliveMs

      public String scrollKeepAliveMs()
      The starting index of the response. The option is a: Integer type. Group: producer
      Returns:
      the name of the header scrollKeepAliveMs.
    • useScroll

      public String useScroll()
      Set to true to enable scroll usage. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header useScroll.
    • size

      public String size()
      The size of the response. The option is a: Integer type. Group: producer
      Returns:
      the name of the header size.
    • from

      public String from()
      The starting index of the response. The option is a: Integer type. Group: producer
      Returns:
      the name of the header from.