Interface EpisodicReflectionConfiguration.Builder

  • Method Details

    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces for which to create reflections. Can be less nested than the episodic namespaces.

      Parameters:
      namespaces - The namespaces for which to create reflections. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      The namespaces for which to create reflections. Can be less nested than the episodic namespaces.

      Parameters:
      namespaces - The namespaces for which to create reflections. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      EpisodicReflectionConfiguration.Builder namespaceTemplates(Collection<String> namespaceTemplates)

      The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.

      Parameters:
      namespaceTemplates - The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      EpisodicReflectionConfiguration.Builder namespaceTemplates(String... namespaceTemplates)

      The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.

      Parameters:
      namespaceTemplates - The namespaceTemplates for which to create reflections. Can be less nested than the episodic namespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      EpisodicReflectionConfiguration.Builder memoryRecordSchema(MemoryRecordSchema memoryRecordSchema)

      "Schema for metadata fields on records generated by reflections.

      Parameters:
      memoryRecordSchema - "Schema for metadata fields on records generated by reflections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      default EpisodicReflectionConfiguration.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema)

      "Schema for metadata fields on records generated by reflections.

      This is a convenience method that creates an instance of the MemoryRecordSchema.Builder avoiding the need to create one manually via MemoryRecordSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to memoryRecordSchema(MemoryRecordSchema).

      Parameters:
      memoryRecordSchema - a consumer that will call methods on MemoryRecordSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: