com.azure.resourcemanager.sql.models.ReplicationState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.sql.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).
*/
public final class ReplicationState extends ExpandableStringEnum {
/**
* Static value PENDING for ReplicationState.
*/
public static final ReplicationState PENDING = fromString("PENDING");
/**
* Static value SEEDING for ReplicationState.
*/
public static final ReplicationState SEEDING = fromString("SEEDING");
/**
* Static value CATCH_UP for ReplicationState.
*/
public static final ReplicationState CATCH_UP = fromString("CATCH_UP");
/**
* Static value SUSPENDED for ReplicationState.
*/
public static final ReplicationState SUSPENDED = fromString("SUSPENDED");
/**
* Creates a new instance of ReplicationState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ReplicationState() {
}
/**
* Creates or finds a ReplicationState from its string representation.
*
* @param name a name to look for.
* @return the corresponding ReplicationState.
*/
public static ReplicationState fromString(String name) {
return fromString(name, ReplicationState.class);
}
/**
* Gets known ReplicationState values.
*
* @return known ReplicationState values.
*/
public static Collection values() {
return values(ReplicationState.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy