SnapshotSkuType Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SnapshotSkuType
- com.
public final class SnapshotSkuType
Defines values for SnapshotSkuType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Snapshot |
PREMIUM_LRS
Static value PREMIUM_LRS for Snapshot |
static final
Snapshot |
STANDARD_LRS
Static value STANDARD_LRS for Snapshot |
static final
Snapshot |
STANDARD_ZRS
Static value STANDARD_ZRS for Snapshot |
Method Summary
Modifier and Type | Method and Description |
---|---|
Snapshot |
accountType() |
boolean | equals(Object obj) |
static
Snapshot |
fromSnapshotSku(SnapshotSku snapshotSku)
Parses a value into a snapshot SKU type and creates a new Snapshot |
static
Snapshot |
fromStorageAccountType(SnapshotStorageAccountTypes value)
Parses a value into a snapshot SKU type and creates a new Snapshot |
int | hashCode() |
String | toString() |
static
Snapshot |
values() |
Methods inherited from java.lang.Object
Field Details
PREMIUM_LRS
public static final SnapshotSkuType PREMIUM_LRS
Static value PREMIUM_LRS for SnapshotSkuType.
STANDARD_LRS
public static final SnapshotSkuType STANDARD_LRS
Static value STANDARD_LRS for SnapshotSkuType.
STANDARD_ZRS
public static final SnapshotSkuType STANDARD_ZRS
Static value STANDARD_ZRS for SnapshotSkuType.
Method Details
accountType
public SnapshotStorageAccountTypes accountType()
Returns:
equals
public boolean equals(Object obj)
Overrides:
SnapshotSkuType.equals(Object obj)Parameters:
fromSnapshotSku
public static SnapshotSkuType fromSnapshotSku(SnapshotSku snapshotSku)
Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.
Parameters:
Returns:
fromStorageAccountType
public static SnapshotSkuType fromStorageAccountType(SnapshotStorageAccountTypes value)
Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.
Parameters:
Returns:
hashCode
public int hashCode()
Overrides:
SnapshotSkuType.hashCode()toString
public String toString()
Overrides:
SnapshotSkuType.toString()values
public static SnapshotSkuType[] values()
Returns:
Applies to
Azure SDK for Java