Class CreateOrUpdateIndexerOptions
java.lang.Object
com.azure.search.documents.indexes.models.CreateOrUpdateIndexerOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theindexerthat will be created or updated.Gets an optional flag that determines whether the created or updatedindexerdisables cache reprocessing change detection.Gets an optional flag that determines whether the created or updatedindexerignores cache reset requirements.booleanGets the flag that determines whether an update will only occur if theindexerhas not been changed since the update has been triggered.setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled) Sets an optional flag that determines whether the created or updatedindexerdisables cache reprocessing change detection.setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored) Sets an optional flag that determines whether the created or updatedindexerignores cache reset requirements.setOnlyIfUnchanged(boolean onlyIfUnchanged) Sets the flag that determines whether an update will only occur if theindexerhas not been changed since the update has been triggered.
-
Constructor Details
-
CreateOrUpdateIndexerOptions
Creates the property bag used to create or update anindexer.- Parameters:
indexer- Theindexerbeing created or updated.- Throws:
NullPointerException- Ifindexeris null.
-
-
Method Details
-
getIndexer
-
setOnlyIfUnchanged
Sets the flag that determines whether an update will only occur if theindexerhas not been changed since the update has been triggered.- Parameters:
onlyIfUnchanged- Flag that determines whether an update will only occur if theindexerhas not been changed since the update has been triggered.- Returns:
- The updated CreateOrUpdateIndexerOptions object.
-
isOnlyIfUnchanged
-
setCacheReprocessingChangeDetectionDisabled
public CreateOrUpdateIndexerOptions setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled) Sets an optional flag that determines whether the created or updatedindexerdisables cache reprocessing change detection.- Parameters:
cacheReprocessingChangeDetectionDisabled- An optional flag that determines whether the created or updatedindexerdisables cache reprocessing change detection.- Returns:
- The updated CreateOrUpdateIndexerOptions object.
-
isCacheReprocessingChangeDetectionDisabled
-
setCacheResetRequirementsIgnored
public CreateOrUpdateIndexerOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored) Sets an optional flag that determines whether the created or updatedindexerignores cache reset requirements.- Parameters:
cacheResetRequirementsIgnored- An optional flag that determines whether the created or updatedindexerignores cache reset requirements.- Returns:
- The updated CreateOrUpdateIndexerOptions object.
-
isCacheResetRequirementsIgnored
-