Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.storage;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for GeoReplicationStatus.
/**
* Defines values for GeoReplicationStatus.
*/
@LangDefinition
public final class BlobTypes extends ExpandableStringEnum<BlobTypes> {
Static value blockBlob for BlobTypes. /** Static value blockBlob for BlobTypes. */
public static final BlobTypes BLOCK_BLOB = fromString("blockBlob");
Static value snapshot for BlobTypes. /** Static value snapshot for BlobTypes. */
public static final BlobTypes SNAPSHOT = fromString("snapshot");
Creates or finds a BlobType from its string representation.
Params: - name – a name to look for
Returns: the corresponding BlobType
/**
* Creates or finds a BlobType from its string representation.
*
* @param name a name to look for
* @return the corresponding BlobType
*/
@JsonCreator
public static BlobTypes fromString(String name) {
return fromString(name, BlobTypes.class);
}
Returns: known BlobType values
/**
* @return known BlobType values
*/
public static Collection<BlobTypes> values() {
return values(BlobTypes.class);
}
}