Class CreateOrUpdateSkillsetOptions
- java.lang.Object
-
- com.azure.search.documents.indexes.models.CreateOrUpdateSkillsetOptions
-
-
Constructor Summary
Constructors Constructor Description CreateOrUpdateSkillsetOptions(SearchIndexerSkillset skillset)
Creates the property bag used to create or update askillset
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchIndexerSkillset
getSkillset()
Gets theskillset
that will be created or updated.Boolean
isCacheReprocessingChangeDetectionDisabled()
Gets an optional flag that determines whether the created or updatedskillset
disables cache reprocessing change detection.Boolean
isCacheResetRequirementsIgnored()
Gets an optional flag that determines whether the created or updatedskillset
ignores cache reset requirements.boolean
isOnlyIfUnchanged()
Gets the flag that determines whether an update will only occur if theskillset
has not been changed since the update has been triggered.CreateOrUpdateSkillsetOptions
setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
Sets an optional flag that determines whether the created or updatedskillset
disables cache reprocessing change detection.CreateOrUpdateSkillsetOptions
setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
Sets an optional flag that determines whether the created or updatedskillset
ignores cache reset requirements.CreateOrUpdateSkillsetOptions
setOnlyIfUnchanged(boolean onlyIfUnchanged)
Sets the flag that determines whether an update will only occur if theskillset
has not been changed since the update has been triggered.
-
-
-
Constructor Detail
-
CreateOrUpdateSkillsetOptions
public CreateOrUpdateSkillsetOptions(SearchIndexerSkillset skillset)
Creates the property bag used to create or update askillset
.- Parameters:
skillset
- Theskillset
being created or updated.- Throws:
NullPointerException
- Ifskillset
is null.
-
-
Method Detail
-
getSkillset
public SearchIndexerSkillset getSkillset()
Gets theskillset
that will be created or updated.- Returns:
- The
skillset
that will be created or updated.
-
setOnlyIfUnchanged
public CreateOrUpdateSkillsetOptions setOnlyIfUnchanged(boolean onlyIfUnchanged)
Sets the flag that determines whether an update will only occur if theskillset
has not been changed since the update has been triggered.- Parameters:
onlyIfUnchanged
- Flag that determines whether an update will only occur if theskillset
has not been changed since the update has been triggered.- Returns:
- The updated CreateOrUpdateSkillsetOptions object.
-
isOnlyIfUnchanged
public boolean isOnlyIfUnchanged()
Gets the flag that determines whether an update will only occur if theskillset
has not been changed since the update has been triggered.- Returns:
- Whether an update will only occur if the
skillset
has not been changed since the update has been triggered.
-
setCacheReprocessingChangeDetectionDisabled
public CreateOrUpdateSkillsetOptions setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
Sets an optional flag that determines whether the created or updatedskillset
disables cache reprocessing change detection.- Parameters:
cacheReprocessingChangeDetectionDisabled
- An optional flag that determines whether the created or updatedskillset
disables cache reprocessing change detection.- Returns:
- The updated CreateOrUpdateSkillsetOptions object.
-
isCacheReprocessingChangeDetectionDisabled
public Boolean isCacheReprocessingChangeDetectionDisabled()
Gets an optional flag that determines whether the created or updatedskillset
disables cache reprocessing change detection.- Returns:
- Whether the created or updated
skillset
disables cache reprocessing change detection.
-
setCacheResetRequirementsIgnored
public CreateOrUpdateSkillsetOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
Sets an optional flag that determines whether the created or updatedskillset
ignores cache reset requirements.- Parameters:
cacheResetRequirementsIgnored
- An optional flag that determines whether the created or updatedskillset
ignores cache reset requirements.- Returns:
- The updated CreateOrUpdateSkillsetOptions object.
-
-