All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.storage.blob.models.ObjectReplicationStatus Maven / Gradle / Ivy

There is a newer version: 12.29.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.


package com.azure.storage.blob.models;

import com.azure.core.util.ExpandableStringEnum;

import java.util.Collection;

/**
 * Defines values for ObjectReplicationStatus.
 */
public final class ObjectReplicationStatus extends ExpandableStringEnum {
    /**
     * Static value completed for ObjectReplicationStatus.
     */
    public static final ObjectReplicationStatus COMPLETE = fromString("complete");

    /**
     * Static value failed for ObjectReplicationStatus.
     */
    public static final ObjectReplicationStatus FAILED = fromString("failed");

    /**
     * Creates or finds a ObjectReplicationStatus from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ObjectReplicationStatus.
     */
    public static ObjectReplicationStatus fromString(String name) {
        return fromString(name, ObjectReplicationStatus.class);
    }

    /**
     * @return known ObjectReplicationStatus values.
     */
    public static Collection values() {
        return values(ObjectReplicationStatus.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy