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.storage;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for GeoReplicationStatus.
/**
* Defines values for GeoReplicationStatus.
*/
public final class GeoReplicationStatus extends ExpandableStringEnum<GeoReplicationStatus> {
Static value Live for GeoReplicationStatus. /** Static value Live for GeoReplicationStatus. */
public static final GeoReplicationStatus LIVE = fromString("Live");
Static value Bootstrap for GeoReplicationStatus. /** Static value Bootstrap for GeoReplicationStatus. */
public static final GeoReplicationStatus BOOTSTRAP = fromString("Bootstrap");
Static value Unavailable for GeoReplicationStatus. /** Static value Unavailable for GeoReplicationStatus. */
public static final GeoReplicationStatus UNAVAILABLE = fromString("Unavailable");
Creates or finds a GeoReplicationStatus from its string representation.
Params: - name – a name to look for
Returns: the corresponding GeoReplicationStatus
/**
* Creates or finds a GeoReplicationStatus from its string representation.
* @param name a name to look for
* @return the corresponding GeoReplicationStatus
*/
@JsonCreator
public static GeoReplicationStatus fromString(String name) {
return fromString(name, GeoReplicationStatus.class);
}
Returns: known GeoReplicationStatus values
/**
* @return known GeoReplicationStatus values
*/
public static Collection<GeoReplicationStatus> values() {
return values(GeoReplicationStatus.class);
}
}