
com.azure.resourcemanager.search.models.SearchSemanticSearch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-search Show documentation
Show all versions of azure-resourcemanager-search Show documentation
This package contains Microsoft Azure Cognitive Search Management SDK. For documentation on how to use this package, please see https://aka.ms/azure-sdk-java-mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.search.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* Sets options that control the availability of semantic ranking. This configuration is only possible for certain
* search SKUs in certain locations.
*/
public final class SearchSemanticSearch extends ExpandableStringEnum {
/** Static value disabled for SearchSemanticSearch. */
public static final SearchSemanticSearch DISABLED = fromString("disabled");
/** Static value free for SearchSemanticSearch. */
public static final SearchSemanticSearch FREE = fromString("free");
/** Static value standard for SearchSemanticSearch. */
public static final SearchSemanticSearch STANDARD = fromString("standard");
/**
* Creates a new instance of SearchSemanticSearch value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SearchSemanticSearch() {
}
/**
* Creates or finds a SearchSemanticSearch from its string representation.
*
* @param name a name to look for.
* @return the corresponding SearchSemanticSearch.
*/
@JsonCreator
public static SearchSemanticSearch fromString(String name) {
return fromString(name, SearchSemanticSearch.class);
}
/**
* Gets known SearchSemanticSearch values.
*
* @return known SearchSemanticSearch values.
*/
public static Collection values() {
return values(SearchSemanticSearch.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy