Enum ProvisioningState
- All Implemented Interfaces:
Serializable,Comparable<ProvisioningState>,java.lang.constant.Constable
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state
that occurs while service capacity is being established. After capacity is set up, provisioningState changes to
either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is
from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If
you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create search
service. This is because the free service uses capacity that is already set up.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnum value failed.Enum value provisioning.Enum value succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProvisioningStatefromString(String value) Parses a serialized value to a ProvisioningState instance.toString()static ProvisioningStateReturns the enum constant of this type with the specified name.static ProvisioningState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUCCEEDED
Enum value succeeded. -
PROVISIONING
Enum value provisioning. -
FAILED
Enum value failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Parses a serialized value to a ProvisioningState instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed ProvisioningState object, or null if unable to parse.
-
toString
- Overrides:
toStringin classEnum<ProvisioningState>
-