Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for SyncGroupState.
/**
* Defines values for SyncGroupState.
*/
public final class SyncGroupState extends ExpandableStringEnum<SyncGroupState> {
Static value NotReady for SyncGroupState. /** Static value NotReady for SyncGroupState. */
public static final SyncGroupState NOT_READY = fromString("NotReady");
Static value Error for SyncGroupState. /** Static value Error for SyncGroupState. */
public static final SyncGroupState ERROR = fromString("Error");
Static value Warning for SyncGroupState. /** Static value Warning for SyncGroupState. */
public static final SyncGroupState WARNING = fromString("Warning");
Static value Progressing for SyncGroupState. /** Static value Progressing for SyncGroupState. */
public static final SyncGroupState PROGRESSING = fromString("Progressing");
Static value Good for SyncGroupState. /** Static value Good for SyncGroupState. */
public static final SyncGroupState GOOD = fromString("Good");
Creates or finds a SyncGroupState from its string representation.
Params: - name – a name to look for
Returns: the corresponding SyncGroupState
/**
* Creates or finds a SyncGroupState from its string representation.
* @param name a name to look for
* @return the corresponding SyncGroupState
*/
@JsonCreator
public static SyncGroupState fromString(String name) {
return fromString(name, SyncGroupState.class);
}
Returns: known SyncGroupState values
/**
* @return known SyncGroupState values
*/
public static Collection<SyncGroupState> values() {
return values(SyncGroupState.class);
}
}