OnActionAddedOptions<T> Class

  • java.lang.Object
    • com.azure.search.documents.options.OnActionAddedOptions<T>

Type Parameters

T

Type of the document in the action.

public final class OnActionAddedOptions

Options passed when SearchClientBuilder.SearchIndexingBufferedSenderBuilder#onActionAdded(Consumer) is called.

Constructor Summary

Constructor Description
OnActionAddedOptions(IndexAction<T> action)

Creates a new OnActionAddedOptions object.

Method Summary

Modifier and Type Method and Description
IndexAction<T> getAction()

Gets the action.

Methods inherited from java.lang.Object

Constructor Details

OnActionAddedOptions

public OnActionAddedOptions(IndexAction action)

Creates a new OnActionAddedOptions object.

Parameters:

action - Action being added.

Method Details

getAction

public IndexAction getAction()

Gets the action.

Returns:

The action.

Applies to

Azure SDK for Java

Preview