Package com.azure.cosmos.models
Class CosmosGlobalSecondaryIndexBuildStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CosmosGlobalSecondaryIndexBuildStatus>
com.azure.cosmos.models.CosmosGlobalSecondaryIndexBuildStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
@Beta(value=V4_81_0,
warningText="Preview API - subject to change in non-backwards compatible way")
public final class CosmosGlobalSecondaryIndexBuildStatus
extends com.azure.core.util.ExpandableStringEnum<CosmosGlobalSecondaryIndexBuildStatus>
Represents the build status of a global secondary index as returned by the Azure Cosmos DB service.
This is an ExpandableStringEnum so that values added by the service in the future are not
a breaking change for clients. fromString(String) will return an instance for any value,
including ones not declared as a constant on this class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CosmosGlobalSecondaryIndexBuildStatusThe global secondary index has been fully built and is actively serving queries.static final CosmosGlobalSecondaryIndexBuildStatusThe global secondary index is being deleted.static final CosmosGlobalSecondaryIndexBuildStatusThe global secondary index is performing its initial build after being created.static final CosmosGlobalSecondaryIndexBuildStatusThe global secondary index is performing its initial build after the source container was restored.static final CosmosGlobalSecondaryIndexBuildStatusThe global secondary index has been created and is initializing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds aCosmosGlobalSecondaryIndexBuildStatusfrom its string representation.values()Gets the knownCosmosGlobalSecondaryIndexBuildStatusvalues declared on this class.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INITIALIZING
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final CosmosGlobalSecondaryIndexBuildStatus INITIALIZINGThe global secondary index has been created and is initializing. -
INITIAL_BUILD_AFTER_CREATE
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final CosmosGlobalSecondaryIndexBuildStatus INITIAL_BUILD_AFTER_CREATEThe global secondary index is performing its initial build after being created. -
INITIAL_BUILD_AFTER_RESTORE
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final CosmosGlobalSecondaryIndexBuildStatus INITIAL_BUILD_AFTER_RESTOREThe global secondary index is performing its initial build after the source container was restored. -
ACTIVE
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final CosmosGlobalSecondaryIndexBuildStatus ACTIVEThe global secondary index has been fully built and is actively serving queries. -
DELETE_IN_PROGRESS
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final CosmosGlobalSecondaryIndexBuildStatus DELETE_IN_PROGRESSThe global secondary index is being deleted.
-
-
Constructor Details
-
CosmosGlobalSecondaryIndexBuildStatus
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") @Deprecated public CosmosGlobalSecondaryIndexBuildStatus()Deprecated.UsefromString(String)instead.Creates a new instance ofCosmosGlobalSecondaryIndexBuildStatuswithout a name.Prefer
fromString(String)to obtain instances; this constructor is required byExpandableStringEnum.
-
-
Method Details
-
fromString
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static CosmosGlobalSecondaryIndexBuildStatus fromString(String name) Creates or finds aCosmosGlobalSecondaryIndexBuildStatusfrom its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding
CosmosGlobalSecondaryIndexBuildStatus, ornullwhennameisnull.
-
values
@Beta(value=V4_81_0, warningText="Preview API - subject to change in non-backwards compatible way") public static Collection<CosmosGlobalSecondaryIndexBuildStatus> values()Gets the knownCosmosGlobalSecondaryIndexBuildStatusvalues declared on this class.- Returns:
- the known
CosmosGlobalSecondaryIndexBuildStatusvalues.
-
fromString(String)instead.