com.azure.storage.blob.models.GeoReplicationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-storage-blob Show documentation
Show all versions of azure-storage-blob Show documentation
This module contains client library for Microsoft Azure Blob Storage.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.storage.blob.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** The status of the secondary location. */
public final class GeoReplicationStatus extends ExpandableStringEnum {
/** Static value live for GeoReplicationStatus. */
public static final GeoReplicationStatus LIVE = fromString("live");
/** Static value bootstrap for GeoReplicationStatus. */
public static final GeoReplicationStatus BOOTSTRAP = fromString("bootstrap");
/** Static value unavailable for GeoReplicationStatus. */
public static final GeoReplicationStatus UNAVAILABLE = fromString("unavailable");
/**
* Creates a new instance of GeoReplicationStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public 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);
}
/**
* Gets known GeoReplicationStatus values.
*
* @return known GeoReplicationStatus values.
*/
public static Collection values() {
return values(GeoReplicationStatus.class);
}
}