com.microsoft.azure.storage.blob.models.AccessTier 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
The Azure Storage Java Blob library.
/**
* 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.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
package com.microsoft.azure.storage.blob.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.v2.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for AccessTier.
*/
public final class AccessTier extends ExpandableStringEnum {
/**
* Static value P4 for AccessTier.
*/
public static final AccessTier P4 = fromString("P4");
/**
* Static value P6 for AccessTier.
*/
public static final AccessTier P6 = fromString("P6");
/**
* Static value P10 for AccessTier.
*/
public static final AccessTier P10 = fromString("P10");
/**
* Static value P20 for AccessTier.
*/
public static final AccessTier P20 = fromString("P20");
/**
* Static value P30 for AccessTier.
*/
public static final AccessTier P30 = fromString("P30");
/**
* Static value P40 for AccessTier.
*/
public static final AccessTier P40 = fromString("P40");
/**
* Static value P50 for AccessTier.
*/
public static final AccessTier P50 = fromString("P50");
/**
* Static value Hot for AccessTier.
*/
public static final AccessTier HOT = fromString("Hot");
/**
* Static value Cool for AccessTier.
*/
public static final AccessTier COOL = fromString("Cool");
/**
* Static value Archive for AccessTier.
*/
public static final AccessTier ARCHIVE = fromString("Archive");
/**
* Creates or finds a AccessTier from its string representation.
*
* @param name a name to look for.
* @return the corresponding AccessTier.
*/
@JsonCreator
public static AccessTier fromString(String name) {
return fromString(name, AccessTier.class);
}
/**
* @return known AccessTier values.
*/
public static Collection values() {
return values(AccessTier.class);
}
}