com.azure.storage.blob.sas.BlobSasServiceVersion 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.
package com.azure.storage.blob.sas;
import com.azure.core.util.ServiceVersion;
/**
* The versions of Azure Storage Blob Sas supported by this client library.
* @deprecated The version is set to the latest version of sas.
*/
@Deprecated
public enum BlobSasServiceVersion implements ServiceVersion {
/**
* Service version {@code 2019-02-02}.
*/
V2019_02_02("2019-02-02"),
/**
* Service version {@code 2019-07-07}.
*/
V2019_07_07("2019-07-07"),
/**
* Service version {@code 2019-12-12}.
*/
V2019_12_12("2019-12-12"),
/**
* Service version {@code 2020-02-10}.
*/
V2020_02_10("2020-02-10"),
/**
* Service version {@code 2020-04-08}.
*/
V2020_04_08("2020-04-08"),
/**
* Service version {@code 2020-06-12}.
*/
V2020_06_12("2020-06-12"),
/**
* Service version {@code 2020-08-04}.
*/
V2020_08_04("2020-08-04");
private final String version;
BlobSasServiceVersion(String version) {
this.version = version;
}
/**
* {@inheritDoc}
*/
@Override
public String getVersion() {
return this.version;
}
/**
* Gets the latest Sas service version supported by this client library
*
* @return the latest {@link BlobSasServiceVersion}
*/
public static BlobSasServiceVersion getLatest() {
return V2020_08_04;
}
}