com.azure.storage.blob.implementation.models.BlobExpiryOptions Maven / Gradle / Ivy
// 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.implementation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for BlobExpiryOptions.
*/
public final class BlobExpiryOptions extends ExpandableStringEnum {
/**
* Static value NeverExpire for BlobExpiryOptions.
*/
public static final BlobExpiryOptions NEVER_EXPIRE = fromString("NeverExpire");
/**
* Static value RelativeToCreation for BlobExpiryOptions.
*/
public static final BlobExpiryOptions RELATIVE_TO_CREATION = fromString("RelativeToCreation");
/**
* Static value RelativeToNow for BlobExpiryOptions.
*/
public static final BlobExpiryOptions RELATIVE_TO_NOW = fromString("RelativeToNow");
/**
* Static value Absolute for BlobExpiryOptions.
*/
public static final BlobExpiryOptions ABSOLUTE = fromString("Absolute");
/**
* Creates a new instance of BlobExpiryOptions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public BlobExpiryOptions() {
}
/**
* Creates or finds a BlobExpiryOptions from its string representation.
*
* @param name a name to look for.
* @return the corresponding BlobExpiryOptions.
*/
public static BlobExpiryOptions fromString(String name) {
return fromString(name, BlobExpiryOptions.class);
}
/**
* Gets known BlobExpiryOptions values.
*
* @return known BlobExpiryOptions values.
*/
public static Collection values() {
return values(BlobExpiryOptions.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy