Constructor and Description |
---|
CreateOrUpdateSkillsetOptions(SearchIndexerSkillset skillset)
Creates the property bag used to create or update a
skillset . |
Modifier and Type | Method and Description |
---|---|
SearchIndexerSkillset |
getSkillset()
Gets the
skillset that will be created or updated. |
Boolean |
isCacheReprocessingChangeDetectionDisabled()
Gets an optional flag that determines whether the created or updated
skillset
disables cache reprocessing change detection. |
Boolean |
isCacheResetRequirementsIgnored()
Gets an optional flag that determines whether the created or updated
skillset
ignores cache reset requirements. |
boolean |
isOnlyIfUnchanged()
Gets the flag that determines whether an update will only occur if the
skillset has
not been changed since the update has been triggered. |
CreateOrUpdateSkillsetOptions |
setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
Sets an optional flag that determines whether the created or updated
skillset
disables cache reprocessing change detection. |
CreateOrUpdateSkillsetOptions |
setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
Sets an optional flag that determines whether the created or updated
skillset
ignores cache reset requirements. |
CreateOrUpdateSkillsetOptions |
setOnlyIfUnchanged(boolean onlyIfUnchanged)
Sets the flag that determines whether an update will only occur if the
skillset has
not been changed since the update has been triggered. |
public CreateOrUpdateSkillsetOptions(SearchIndexerSkillset skillset)
skillset
.skillset
- The skillset
being created or updated.NullPointerException
- If skillset
is null.public SearchIndexerSkillset getSkillset()
skillset
that will be created or updated.skillset
that will be created or updated.public CreateOrUpdateSkillsetOptions setOnlyIfUnchanged(boolean onlyIfUnchanged)
skillset
has
not been changed since the update has been triggered.onlyIfUnchanged
- Flag that determines whether an update will only occur if the skillset
has not been changed since the update has been triggered.public boolean isOnlyIfUnchanged()
skillset
has
not been changed since the update has been triggered.skillset
has not been changed
since the update has been triggered.public CreateOrUpdateSkillsetOptions setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
skillset
disables cache reprocessing change detection.cacheReprocessingChangeDetectionDisabled
- An optional flag that determines whether the created or updated
skillset
disables cache reprocessing change detection.public Boolean isCacheReprocessingChangeDetectionDisabled()
skillset
disables cache reprocessing change detection.skillset
disables cache reprocessing change
detection.public CreateOrUpdateSkillsetOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
skillset
ignores cache reset requirements.cacheResetRequirementsIgnored
- An optional flag that determines whether the created or updated skillset
ignores cache reset requirements.Copyright © 2021 Microsoft Corporation. All rights reserved.