Interface SummaryMemoryStrategyInput.Builder

  • Method Details

    • name

      The name of the summary memory strategy.

      Parameters:
      name - The name of the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SummaryMemoryStrategyInput.Builder description(String description)

      The description of the summary memory strategy.

      Parameters:
      description - The description of the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy.

      Parameters:
      namespaces - This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      Deprecated.
      Use namespaceTemplates instead

      This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy.

      Parameters:
      namespaces - This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      SummaryMemoryStrategyInput.Builder namespaceTemplates(Collection<String> namespaceTemplates)

      The namespaceTemplates associated with the summary memory strategy.

      Parameters:
      namespaceTemplates - The namespaceTemplates associated with the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceTemplates

      SummaryMemoryStrategyInput.Builder namespaceTemplates(String... namespaceTemplates)

      The namespaceTemplates associated with the summary memory strategy.

      Parameters:
      namespaceTemplates - The namespaceTemplates associated with the summary memory strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryRecordSchema

      SummaryMemoryStrategyInput.Builder memoryRecordSchema(MemoryRecordSchema memoryRecordSchema)

      Schema for metadata fields on records generated by this strategy.

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

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

      Schema for metadata fields on records generated by this strategy.

      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: