com.microsoft.azure.management.sql.FailoverGroupReplicationRole Maven / Gradle / Ivy
/**
* 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 FailoverGroupReplicationRole.
*/
public final class FailoverGroupReplicationRole extends ExpandableStringEnum {
/** Static value Primary for FailoverGroupReplicationRole. */
public static final FailoverGroupReplicationRole PRIMARY = fromString("Primary");
/** Static value Secondary for FailoverGroupReplicationRole. */
public static final FailoverGroupReplicationRole SECONDARY = fromString("Secondary");
/**
* Creates or finds a FailoverGroupReplicationRole from its string representation.
* @param name a name to look for
* @return the corresponding FailoverGroupReplicationRole
*/
@JsonCreator
public static FailoverGroupReplicationRole fromString(String name) {
return fromString(name, FailoverGroupReplicationRole.class);
}
/**
* @return known FailoverGroupReplicationRole values
*/
public static Collection values() {
return values(FailoverGroupReplicationRole.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy