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